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