Tanaka Akira <akr / fsij.org> wrote:
> 2013/3/15 vipulnsward (Vipul Amler) <vipulnsward / gmail.com>:
> 
> > A lot of scenarios and applications require the use of Time.now.to_i which is used as current_timestamp in systems.
> 
> I don't recommend the value to send to another host or somewhere which the
> way to interpret the value is not known.
> 
> If your host don't consider leap seconds but another host consider leap second,
> The interpretation of the value (year, month, day, hour, minute, second) will
> be different.

The proposed Time.current_timestamp is the same as Time.now.to_i, but
without allocating the intermediate Time object.

(Returns seconds since Epoch, same as time() function in C/POSIX))