Supported in: Batch, Streaming
Returns the timestamp given a formatted string in accordance to the Java DateTimeFormatter. The default formats are yyyy-MM-dd'T'HH:mm:ss.SSSXXX
and yyyy-MM-dd
. The formats are run in order, the first matching format will be returned.
Expression categories: Cast, Datetime
yyyy-MM-dd'T'HH:mm:ss.SSSXXX
and yyyy-MM-dd
.Output type: Timestamp
Argument values:
timestamp
timestamp | Output |
---|---|
2020-04-28T01:30:02.005110Z | 2020-04-28T01:30:02.00511Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2020-04-28T01:30:02.005Z | 2020-04-28T01:30:02.005Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2020-04-28 | 2020-04-28T00:00:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
28-2020-04 10:09:00 | 2020-04-28T10:09:00Z |
2020-04-28 | 2020-04-28T00:00:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-334 10:09:00 | 2022-11-30T10:09:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
30 November 2022 10:09:00 | 2022-11-30T10:09:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-11-30 1:30:00 PM | 2022-11-30T13:30:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-11-30 13:9:00 | 2022-11-30T13:09:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
30-Nov-2022 10:09:00 | 2022-11-30T10:09:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-334 | 2022-11-30T00:00:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-11-30 13:09:0 | 2022-11-30T13:09:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
22-11-30 10:09:00 | 2022-11-30T10:09:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
01-Nov-2023 10:09:00 | 2023-11-01T10:09:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
01-NOV-2023 10:09:00 | 2023-11-01T10:09:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-11-30 10:09:00 PST | 2022-11-30T18:09:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-11-29T09:50:04.187;EST | 2022-11-29T14:50:04.187Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-11-29T09:50:04.187-05:00 | 2022-11-29T14:50:04.187Z |
Argument values:
timestamp
timestamp | Output |
---|---|
28-2020-04 04:12:00 | 2020-04-28T04:12:00+10:00 |
Argument values:
timestamp
timestamp | Output |
---|---|
28-2020-04 04:12:00 | 2020-04-28T04:12:00+10:00 |
Argument values:
timestamp
timestamp | Output |
---|---|
202021-04-28 | null |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-11-29T09:50:04.187;Australia/Sydney | 2022-11-28T22:50:04.187Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-11-29T09:50:04.187;EST | 2022-11-28T22:50:04.187Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-11-30 10:09:00 AM | 2022-11-30T10:09:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-11-30 10:09:00 PM | 2022-11-30T22:09:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2023010 | 2023-01-10T00:00:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2023010 | 2023-01-10T05:00:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2023010 | 2023-01-10T00:00:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
20230110000000 | 2023-01-10T00:00:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
20230110000000 | 2023-01-10T00:00:00Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2022-11-29T09:50:04.187Z;EST | 2022-11-29T09:50:04.187Z |
Argument values:
timestamp
timestamp | Output |
---|---|
2020-04-28T01:30:02.005112Z | 2020-04-28T01:30:02.005112Z |