timePart

number timePart(timestamp, timeZone)

Returns the seconds past midnight (time of day) of timestamp in the time zone.

Parameters

  1. timestampunix timestamp with the date and time.
  2. timeZone — optional time zone of timestamp, defaults is the current time zone.

Returns