Template:Ctime:Y
Appearance
2025

Examples
Input | Output |
---|---|
{{Ctime:Y|2025-04-11}} | 2025 |
{{Ctime:Y|2024-04-11}} | 2024 |
{{Ctime:Y|2021-04-11}} | 2021 |
{{Ctime:Y|2018-04-11}} | 2018 |
{{Ctime:Y|2015-04-11}} | 2015 |
{{Ctime:Y|2012-04-11}} | 2012 |
{{Ctime:Y|2009-04-11}} | 2009 |
{{Ctime:Y|2006-04-11}} | 2006 |
{{Ctime:Y|2003-04-11}} | 2003 |
{{Ctime:Y|2000-04-11}} | 2000 |
{{Ctime:Y|1997-04-11}} | 1997 |
{{Ctime:Y|1994-04-11}} | 1994 |
{{Ctime:Y|1991-04-11}} | 1991 |
To get the Gregorian year number in the Chinese calendar
Parameter | Description | Type | Status | |
---|---|---|---|---|
date | 1 d | the date in the Gregorian calendar.
| Date | optional |
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.