Jump to content

Шаблон:Two digit year except 00/doc

Мавод аз Википедиа — донишномаи озод

Convert a year to two digits with zero padding, but years ending in 00 are returned with all digits and no leading zeros.

Tests
1999 -> 99
2000 -> 2000
2001 -> 01
See also