# Current Time

  • function currentTimePoint(): TimePoint
    

    Current time point of the blockchain

  • function currentTime(): u64
    

    Current microseconds since epoch of the blockchain

  • function currentTimeMs(): u64
    

    Current milliseconds since epoch of the blockchain

  • function currentTimeSec(): u32
    

    Current seconds since epoch of the blockchain

# Time Helpers

  • function seconds(s: i64): Microseconds
    

    Helper function to create a Microseconds object from a seconds input

  • function milliseconds(s: i64): Microseconds
    

    Helper function to create a Microseconds object from a milliseconds input

  • function minutes(s: i64): Microseconds
    

    Helper function to create a Microseconds object from a minutes input

  • function hours(s: i64): Microseconds
    

    Helper function to create a Microseconds object from a hours input

  • function days(s: i64): Microseconds
    

    Helper function to create a Microseconds object from a days input