Luna::local_timestamp_to_utc_timestamp

i64 local_timestamp_to_utc_timestamp(i64 local_ts)

Converts a local timestamp to a UTC timestamp based on the timezone setting of the current platform.

Parameters

  • in local_ts

    The local timestamp.

Return value

Returns the converted UTC timestamp.