Template:Ctime:Y: Difference between revisions
Appearance
w>NFSL2001 No edit summary |
m 1 revision imported |
(No difference)
| |
Latest revision as of 14:42, 19 January 2026
2026
Template documentation
Examples
| Input | Output |
|---|---|
{{Ctime:Y|2026-04-03}} | 2026 |
{{Ctime:Y|2025-04-02}} | 2025 |
{{Ctime:Y|2022-04-02}} | 2022 |
{{Ctime:Y|2019-04-02}} | 2019 |
{{Ctime:Y|2016-04-02}} | 2016 |
{{Ctime:Y|2013-04-02}} | 2013 |
{{Ctime:Y|2010-04-02}} | 2010 |
{{Ctime:Y|2007-04-02}} | 2007 |
{{Ctime:Y|2004-04-02}} | 2004 |
{{Ctime:Y|2001-04-02}} | 2001 |
{{Ctime:Y|1998-04-02}} | 1998 |
{{Ctime:Y|1995-04-02}} | 1995 |
{{Ctime:Y|1992-04-02}} | 1992 |
{ "description": "To get the Gregorian year number in the Chinese calendar", "params": { "1": { "aliases": [ "d" ], "label": "date", "description": "the date in the Gregorian calendar.", "type": "date", "default": "today" } } } </templatedata> 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.
[[Category:Template documentation pages{{#translation:}}]]