How would I get a UNIX timestamp (number of seconds since 1970 GMT) from a Date object in a Rails app?
I know Time#to_i returns a timestamp, but doing <
Time#to_i
DateTime.new(2012, 1, 15).to_time.to_i