Template:Ctime:Y
Appearance
2026
Examples
| Input | Output |
|---|---|
{{Ctime:Y|2026-09-25}} | 2026 |
{{Ctime:Y|2025-09-25}} | 2025 |
{{Ctime:Y|2022-09-25}} | 2022 |
{{Ctime:Y|2019-09-25}} | 2019 |
{{Ctime:Y|2016-09-25}} | 2016 |
{{Ctime:Y|2013-09-25}} | 2013 |
{{Ctime:Y|2010-09-25}} | 2010 |
{{Ctime:Y|2007-09-25}} | 2007 |
{{Ctime:Y|2004-09-25}} | 2004 |
{{Ctime:Y|2001-09-25}} | 2001 |
{{Ctime:Y|1998-09-25}} | 1998 |
{{Ctime:Y|1995-09-25}} | 1995 |
{{Ctime:Y|1992-09-25}} | 1992 |
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.