• Calculates the UNIX timestamp in seconds as well as the nanoseconds after the given second.

    This is useful when dealing with external systems like the protobuf type .google.protobuf.Timestamp or any other system that does not use millisecond precision.

    Parameters

    Returns {
        nanos: number;
        seconds: number;
    }

    • nanos: number
    • seconds: number

Generated using TypeDoc