Luna::utc_timestamp_to_local_timestamp

i64 utc_timestamp_to_local_timestamp(i64 utc_ts)

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

Parameters

  • in utc_ts

    The UTC timestamp.

Return value

Returns the converted local timestamp.