| %y |
00 - 99 |
Year without century as a zero padded decimal number. |
| %Y |
1 - 3178 |
Year with century as a decimal number. |
| %n |
۱ - ۹۹ |
Year without century as a decimal number in persian form. |
| %u |
۰۱ - ۹۹ |
Year without century as a zero padded decimal number in persian form. |
| %N |
۱ - ۳۱۷۸ |
Year with century as a decimal number in persian form. |
| %O |
۰۰۰۱ - ۳۱۷۸ |
Year with century as a zero padded decimal number in persian form. |
| %m |
01 - 12 |
Month as a decimal number. |
| %R |
۱ - ۱۲ |
Month as a decimal number in persian form. |
| %P |
۰۱ - ۱۲ |
Month as a zero padded decimal number in persian form. |
| %b |
فر, ار, خر, تی, … |
Month name in persian abbreviated style. |
| %B |
فروردین, اردیبهشت, … |
Month name in persian. |
| %g |
F, O, Kh, T, Mo, … |
Month name in persian abbreviated ASCII style. |
| %G |
Farvardin, Tir, … |
Month name in persian ASCII style. |
| %a |
ش, ی, د, … |
Weekday name in persian abbreviated style. |
| %e |
Sh, Y, D, Se, Ch, P, J |
Weekday name in persian abbreviated ASCII style. |
| %A |
شنبه, یکشنبه, … |
Weekday name in persian. |
| %E |
Shanbeh, Yekshanbeh, .. |
Weekday name in persian ASCII style. |
| %T |
Saturday, Sunday, .. |
Weekday name in english ASCII style. |
| %w |
0(Saturday), 6(Friday) |
Weekday as a decimal number. |
| %W |
00 - 53 |
Week number of the year (SATURDAY as the first day of the week) as a decimal number . All days in a new year preceding the first Monday are considered to be in week 0. |
| %U |
00 - 53 |
Week number of the year (Sunday as the first day of the week) as a decimal number. All days in a new year preceding the first Sunday are considered to be in week 0. |
| %d |
01 - 31 |
Day of the month as a zero padded decimal number in ASCII form. |
| %K |
۰۱ - ۳۱ |
Day of the month as a zero padded decimal number in persian form. |
| %D |
۱ - ۳۱ |
Day of the month as a decimal number in persian form. |
| %j |
001 - 366 |
Day of the year as a zero padded decimal number in ASCII form. |
| %V |
..۱ - ۳۶۶ |
Day of the year as a zero padded decimal number in persian form. |
| %J |
۱ - ۳۶۶ |
Day of the year as a decimal number in persian form. |
| %x |
دوشنبه ۱۵ شهریور ۱۳۶۱ |
Persian appropriate date representation. |
| %% |
% |
A literal ‘%’ character. |