RUBY: Get current time stamp in ruby
Getting current time is very straight forward here.
The code is
The code is
Time.now # Returns Fri Mar 08 13:27:24 +0530 2013
Time.now.to_i # Returns the unix timestamp value 1362729785
That's it.