struct Crtimestamp
- Crtimestamp
 - Struct
 - Value
 - Object
 
Defined in:
crtimestamp.crConstant Summary
- 
        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
Class Method Summary
- 
        .now_utc_to_unix : Int64
        
          
Returns an utc epoch current timestamp in second
 - 
        .now_utc_to_unix_f : Float64
        
          
Returns an utc epoch current timestamp in second as float64
 - 
        .now_utc_to_unix_ms_f : Float64
        
          
Returns an utc epoch current timestamp in msecond
 
Instance Method Summary
Constructor Detail
Class Method Detail
        
        def self.now_utc_to_unix : Int64
        #
      
      
        Returns an utc epoch current timestamp in second
Time.now_utc_to_unix # => 1452567845
        
        
        def self.now_utc_to_unix_f : Float64
        #
      
      
        Returns an utc epoch current timestamp in second as float64
Time.now_utc_to_unix_f # => 1452567845.876736
        
        
        def self.now_utc_to_unix_ms_f : Float64
        #
      
      
        Returns an utc epoch current timestamp in msecond
Time.now_utc_to_unix_ms # => 1452567845876