Template:Ctime:Y
Appearance
2024
Template documentation
Examples
Input | Output |
---|---|
{{Ctime:Y|2024-09-04}} | 2024 |
{{Ctime:Y|2023-09-03}} | 2023 |
{{Ctime:Y|2020-09-03}} | 2020 |
{{Ctime:Y|2017-09-03}} | 2017 |
{{Ctime:Y|2014-09-03}} | 2014 |
{{Ctime:Y|2011-09-03}} | 2011 |
{{Ctime:Y|2008-09-03}} | 2008 |
{{Ctime:Y|2005-09-03}} | 2005 |
{{Ctime:Y|2002-09-03}} | 2002 |
{{Ctime:Y|1999-09-03}} | 1999 |
{{Ctime:Y|1996-09-03}} | 1996 |
{{Ctime:Y|1993-09-03}} | 1993 |
{{Ctime:Y|1990-09-03}} | 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 |