Template:Two digit year except 00/doc
Appearance
This is a documentation subpage for Template:Two digit year except 00. It may contain usage information, categories and other content that is not part of the original template page. |
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
- Template:Two-digit year. Will also convert years ending in 00.