Template:Ctime:Y
Appearance
2025

Examples
Input | Output |
---|---|
{{Ctime:Y|2025-06-11}} | 2025 |
{{Ctime:Y|2024-06-11}} | 2024 |
{{Ctime:Y|2021-06-11}} | 2021 |
{{Ctime:Y|2018-06-11}} | 2018 |
{{Ctime:Y|2015-06-11}} | 2015 |
{{Ctime:Y|2012-06-11}} | 2012 |
{{Ctime:Y|2009-06-11}} | 2009 |
{{Ctime:Y|2006-06-11}} | 2006 |
{{Ctime:Y|2003-06-11}} | 2003 |
{{Ctime:Y|2000-06-11}} | 2000 |
{{Ctime:Y|1997-06-11}} | 1997 |
{{Ctime:Y|1994-06-11}} | 1994 |
{{Ctime:Y|1991-06-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.