Converts a string to a TIMESTAMP type with timezone support.
TIMESTAMPDiperbarui: 13 Jun 2026PARSE_TIMESTAMP(format_string, timestamp_string [, timezone])Format pattern for parsing
The timestamp string to parse
Timezone for interpretation (default: UTC)
1 SELECT PARSE_TIMESTAMP('%Y-%m-%d %H:%M:%S %Z', '2024-06-15 14:30:00 UTC') as parsed;
Parsing a timestamp string with a timezone indicator.
1 SELECT PARSE_TIMESTAMP('%Y-%m-%d %H:%M:%S', '2024-06-15 14:30:00', 'Asia/Jakarta') as parsed;
The timestamp is interpreted in the Jakarta timezone.
Sudah paham PARSE_TIMESTAMP? Latih langsung di browser
Latihan interaktif, langsung di browser.