toIso8601DateTime - Format a timestamp to Iso 8601
Deprecated - Please use formatTimestamp
toIso8601DateTime
automatically converts a given timestamp into ISO 8601
standard format. This format looks like this: 2023-08-11T07:29:17.634Z
This function supports nanosecond output precision.
Syntax
Arguments
Name | Type | Required | Description |
---|---|---|---|
timestamp | timestamp | true | The timestamp to be formatted in ISO 8601 |
Example - Basic usage
Converting a timestamp is a simple operation:
Theme
Light