Get the current time.
Formats the given timestamp as a human-readable string.
Name | Description | Required |
---|---|---|
Seconds | A timestamp in seconds since epoch. | Yes |
Timezone | A timezone name from the tz database. If not specified or if an empty string, the default is UTC. | No |
Parses the given string as a timestamp.
Name | Description | Required |
---|---|---|
Value | A string formatted according to the subset of ISO 8601 defined by RFC 3339 section 5.6, with up to a microsecond precision. | Yes |