Ruby Code Snippets

· Read in about 1 min · (12 words) ·

Code:

Time.at(Time.local(2007, 10, 5)-Time.now).strftime("%d days %H hours %M minutes and %S seconds")