Converts a time string into a TIME type based on the specified format.
TIMEDiperbarui: 13 Jun 2026PARSE_TIME(format_string, time_string)Format pattern used for parsing (e.g., '%H:%M:%S')
The time string to parse
1 SELECT PARSE_TIME('%H:%M:%S', '14:30:45') as parsed_time;
Converts the string '14:30:45' to a TIME value.
1 SELECT PARSE_TIME('%I:%M %p', '02:30 PM') as parsed_time;
Parses a 12-hour format string with AM/PM.
Sudah paham PARSE_TIME? Latih langsung di browser
Latihan interaktif, langsung di browser.