Template:Ctime:Y
Appearance
2026
Template documentation
Examples
| Input | Output |
|---|---|
{{Ctime:Y|2026-03-12}} | 2026 |
{{Ctime:Y|2025-03-11}} | 2025 |
{{Ctime:Y|2022-03-11}} | 2022 |
{{Ctime:Y|2019-03-11}} | 2019 |
{{Ctime:Y|2016-03-11}} | 2016 |
{{Ctime:Y|2013-03-11}} | 2013 |
{{Ctime:Y|2010-03-11}} | 2010 |
{{Ctime:Y|2007-03-11}} | 2007 |
{{Ctime:Y|2004-03-11}} | 2004 |
{{Ctime:Y|2001-03-11}} | 2001 |
{{Ctime:Y|1998-03-11}} | 1998 |
{{Ctime:Y|1995-03-11}} | 1995 |
{{Ctime:Y|1992-03-11}} | 1992 |
{ "description": "To get the Gregorian year number in the Chinese calendar", "params": { "1": { "aliases": [ "d" ], "label": "date", "description": "the date in the Gregorian calendar.", "type": "date", "default": "today" } } } </templatedata> This template is used to obtain the Gregorian year number that corresponds to the current Lunar calendar year. This is useful for January/February, where the Lunar year number before Lunar New Year is one year before.
[[Category:Template documentation pages{{#translation:}}]]