formatting
Format Strings
The following format specifiers are supported for formatting dates:
Format Specifier | Description | Result |
---|---|---|
Y | Year in four digits | 2053/реирежрелрей |
y | Year in two digits | (53/релрей) |
m | Month in two digits with leading zero (01-12/режрез-резреи) | 01-12/режрез-резреи |
n | Month in one or two digits without leading zero (1-12/рез-резреи) | 1-12/рез-резреи |
M | Month in three letters (Jan-Dec) | Jan-Dec |
F | Month in full name (January-December/рдмреИрд╢рд╛рдЦ-рдЪреИрддреНрд░) | January-December/рдмреИрд╢рд╛рдЦ-рдЪреИрддреНрд░ |
d | Day in two digits with leading zero (01-31/режрез-рейреи) | 01-31/режрез-рейреи |
j | Day in one or two digits without leading zero (1-31/рез-рейреи) | 1-31/рез-рейреи |
D | Day in three letters (Sun-Sat/рдЖрдЗрдд-рд╢рдирд┐) | Sun-Sat/рдЖрдЗрдд-рд╢рдирд┐ |
l | Day in full name (Sunday-Saturday/рдЖрдЗрддрдмрд╛рд░-рд╢рдирд┐рдмрд╛рд░) | Sunday-Saturday/рдЖрдЗрддрдмрд╛рд░-рд╢рдирд┐рдмрд╛рд░ |
S | Day in two letters (st, nd, rd, th) | st, nd, rd, th |