Skip to main content
This function isn’t in the updated function reference yet. The details below come from the previous docs, and the product team is confirming them.

Syntax

PARSE FUNCTIONS This section contains parse functions that uses the specifier (format_string). The table below contains the supported patterns for the parse functions.
SpecifierDescription
%a or %WAbbreviated weekday name (Sun .. Sat) or Weekday name (Sunday .. Saturday)
%b or %MAbbreviated month name (Jan .. Dec) or Month name (January .. December)
%d or %eDay of the month, numeric (01 .. 31) or numeric (1 .. 31), this specifier does not support 0 as a month or day.
%c or %mMonth, numeric (1 .. 12), this specifier does not support 0 as a month.
%fFraction of second (6 digits for printing: 000000 .. 999000; 1 - 9 digits for parsing: 0 .. 999999999), timestamp is truncated to milliseconds
%H or %kHour (00 .. 23)
%h or %IHour (01 .. 12)
%jDay of year (001 .. 366)
%iMinutes, numeric (00 .. 59)
%S or %sSeconds (00 .. 59)
%rTime of day, 12-hour (equivalent to %h:%i:%s %p)
%TTime of day, 24-hour (equivalent to %H:%i:%s)
%vWeek (01 .. 53), where Monday is the first day of the week and we can use %y or %x for year for using %x use 4 digits for year
%xYear for the week, where Monday is the first day of the week, numeric, four digits; used with %v
%YYear, numeric, four digits
%yYear, numeric (two digits), when parsing, two-digit year format assumes range 1970 .. 2069, so “70” will result in year 1970 but “69” will produce 2069
%%A literal % character
Last modified on October 15, 2026