EasyUtcNow
Inherits Struct < Value < Object
Constants
EPOCH_MSECONDS_TIMESTAMP = 62135596800000_i64
epoch's timestamp in msecond since 0001-01-01 00:00:00
EPOCH_SECONDS_TIMESTAMP = 62135596800_i64
epoch's timestamp in second since 0001-01-01 00:00:00
EPOCH_SECONDS_TIMESTAMP_F64 = 62135596800_f64
Constructors
new
SourceClass methods
now_utc_to_unix
Returns an utc epoch current timestamp in second
Time.now_utc_to_unix # => 1452567845
now_utc_to_unix_f
Returns an utc epoch current timestamp in second as float64
Time.now_utc_to_unix_f # => 1452567845.876736
now_utc_to_unix_ms_f
Returns an utc epoch current timestamp in msecond
Time.now_utc_to_unix_ms # => 1452567845876
Instance methods
initialize
Source