I am using the following to get the time:
puts Time.now --> starting of my script
<MY CODE>
puts Time.now --> end of my script
I want to get the Time difference between two Time.now
Problem I am facing is i cannot directly take the difference as Time.now displays the time in following format : "Tue Feb 12 19:55:37 +0530 2008"
Any other better way to solve it?
Cheers
puts Time.now --> starting of my script
<MY CODE>
puts Time.now --> end of my script
I want to get the Time difference between two Time.now
Problem I am facing is i cannot directly take the difference as Time.now displays the time in following format : "Tue Feb 12 19:55:37 +0530 2008"
Any other better way to solve it?
Cheers
Comment