Template:Ctime:Y
2024
Template documentation
Examples
Input | Output |
---|---|
{{Ctime:Y|2024-05-16}} | 2024 |
{{Ctime:Y|2023-05-15}} | 2023 |
{{Ctime:Y|2020-05-15}} | 2020 |
{{Ctime:Y|2017-05-15}} | 2017 |
{{Ctime:Y|2014-05-15}} | 2014 |
{{Ctime:Y|2011-05-15}} | 2011 |
{{Ctime:Y|2008-05-15}} | 2008 |
{{Ctime:Y|2005-05-15}} | 2005 |
{{Ctime:Y|2002-05-15}} | 2002 |
{{Ctime:Y|1999-05-15}} | 1999 |
{{Ctime:Y|1996-05-15}} | 1996 |
{{Ctime:Y|1993-05-15}} | 1993 |
{{Ctime:Y|1990-05-15}} | 1990 |
To get the year number in the Chinese calendar
Parameter | Description | Type | Status | |
---|---|---|---|---|
date | 1 d | the date in the Gregorian calendar.
| Date | optional |