How to get UTC timestamp in ruby.?
You can use Time.new.
time = Time.now.getutc
Time.utc(2010, 05, 17)
You can use Time.now.to_i