localTime
number localTime(timestamp, timeZone)
Returns the timestamp adjusted from the specified time zone to the local time zone.
Parameters
- timestamp — unix timestamp.
- timeZone — optional time zone of timestamp, default is UTC.
Returns
- the timestamp adjust to local time.