| | |
| | The locale's full or abbreviated case-insensitive weekday name . |
| | |
| | The locale's full or abbreviated case-insensitive month name . |
| | |
| | The locale's date and time representation . The modified command %Ec interprets
the locale's alternate date and time representation . |
| | The century as a decimal number . The modified command %NC specifies
the maximum number of characters to read . If N is not specified, the default is 2 . Leading zeroes are permitted but not required . The modified command %EC interprets
the locale's alternative representation of the century . |
| | The day of the month as a decimal number . The modified command %Nd specifies
the maximum number of characters to read . If N is not specified, the default is 2 . Leading zeroes are permitted but not required . The modified command %Od interprets
the locale's alternative representation of the day of the month . |
| | |
| | Equivalent to %d and can be modified like %d. |
| | If modified with a width N,
the width is applied to only %Y. |
| | The last two decimal digits of the ISO week-based year . The modified command %Ng specifies
the maximum number of characters to read . If N is not specified, the default is 2 . Leading zeroes are permitted but not required . |
| | The ISO week-based year as a decimal number . The modified command %NG specifies
the maximum number of characters to read . If N is not specified, the default is 4 . Leading zeroes are permitted but not required . |
| | |
| | The hour (24-hour clock) as a decimal number . The modified command %NH specifies
the maximum number of characters to read . If N is not specified, the default is 2 . Leading zeroes are permitted but not required . The modified command %OH interprets
the locale's alternative representation . |
| | The hour (12-hour clock) as a decimal number . The modified command %NI specifies
the maximum number of characters to read . If N is not specified, the default is 2 . Leading zeroes are permitted but not required . The modified command %OI
interprets the locale's alternative representation . |
| | If the type being parsed is a specialization of duration,
a decimal number of days. Otherwise,
the day of the year as a decimal number . In either case,
the modified command %Nj specifies
the maximum number of characters to read . If N is not specified, the default is 3 . Leading zeroes are permitted but not required . |
| | The month as a decimal number . The modified command %Nm specifies
the maximum number of characters to read . If N is not specified, the default is 2 . Leading zeroes are permitted but not required . The modified command %Om interprets
the locale's alternative representation . |
| | The minutes as a decimal number . The modified command %NM specifies
the maximum number of characters to read . If N is not specified, the default is 2 . Leading zeroes are permitted but not required . The modified command %OM interprets
the locale's alternative representation . |
| | Matches one whitespace character . [ Note 1: %n, %t, and a space
can be combined to match a wide range of whitespace patterns . For example,
"%n " matches one or more whitespace characters, and
"%n%t%t" matches one to three whitespace characters . — end note] |
| | The locale's equivalent of the AM/PM designations associated with a 12-hour clock . |
| | The locale's 12-hour clock time . |
| | |
| | The seconds as a decimal number . The modified command %NS specifies
the maximum number of characters to read . If N is not specified,
the default is 2 if the input time has a precision convertible to seconds . Otherwise the default width is determined by
the decimal precision of the input
and the field is interpreted as a long double in a fixed format . If encountered, the locale determines the decimal point character . Leading zeroes are permitted but not required . The modified command %OS interprets
the locale's alternative representation . |
| | Matches zero or one whitespace characters . |
| | |
| | The ISO weekday as a decimal number ( 1- 7), where Monday is 1. The modified command %Nu specifies
the maximum number of characters to read . If N is not specified, the default is 1. Leading zeroes are permitted but not required . |
| | The week number of the year as a decimal number . The first Sunday of the year is the first day of week 01. Days of the same year prior to that are in week 00. The modified command %NU specifies
the maximum number of characters to read . If N is not specified, the default is 2 . Leading zeroes are permitted but not required . The modified command %OU interprets
the locale's alternative representation . |
| | The ISO week-based week number as a decimal number . The modified command %NV specifies
the maximum number of characters to read . If N is not specified, the default is 2 . Leading zeroes are permitted but not required . |
| | The weekday as a decimal number ( 0- 6), where Sunday is 0. The modified command %Nw specifies
the maximum number of characters to read . If N is not specified, the default is 1. Leading zeroes are permitted but not required . The modified command %Ow interprets
the locale's alternative representation . |
| | The week number of the year as a decimal number . The first Monday of the year is the first day of week 01. Days of the same year prior to that are in week 00. The modified command %NW specifies
the maximum number of characters to read . If N is not specified, the default is 2 . Leading zeroes are permitted but not required . The modified command %OW interprets
the locale's alternative representation . |
| | The locale's date representation . The modified command %Ex interprets the locale's alternate date representation . |
| | The locale's time representation . The modified command %EX interprets the locale's alternate time representation . |
| | The last two decimal digits of the year . If the century is not otherwise specified
(e.g., with %C),
values in the range [ 69, 99]
are presumed to refer to the years 1969 to 1999,
and values in the range [ 00, 68]
are presumed to refer to the years 2000 to 2068 . The modified command %Ny specifies
the maximum number of characters to read . If N is not specified, the default is 2 . Leading zeroes are permitted but not required . The modified commands %Ey and %Oy interpret
the locale's alternative representation . |
| | The year as a decimal number . The modified command %NY specifies
the maximum number of characters to read . If N is not specified, the default is 4 . Leading zeroes are permitted but not required . The modified command %EY interprets
the locale's alternative representation . |
| | The offset from UTC in the format [+|-]hh[mm]. For example -0430 refers to 4 hours 30 minutes behind UTC,
and 04 refers to 4 hours ahead of UTC . The modified commands %Ez and %Oz
parse a : between the hours and minutes
and render leading zeroes on the hour field optional:
[+|-]h[h][:mm]. For example -04:30 refers to 4 hours 30 minutes behind UTC,
and 4 refers to 4 hours ahead of UTC . |
| | The time zone abbreviation or name . This word can only contain characters
from the basic character set ( [lex.charset])
that are alphanumeric, or one of
'_', '/', '-', or '+'. |
| | A % character is extracted . |