I used the code below to return a number, but it's not human readable. How do I convert it to a x hours x mins x second
format?
ruby-1.9.2-p0 > Time.now.end_of_day() -Time.now
=> 31612.235963075
I used the code below to return a number, but it's not human readable. How do I convert it to a x hours x mins x second
format?
ruby-1.9.2-p0 > Time.now.end_of_day() -Time.now
=> 31612.235963075