Jump to content

Template:Ctime:Y

From NicheWork
Revision as of 21:56, 7 February 2025 by w>NFSL2001
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

2026

Template documentation

Examples

Input Output
{{Ctime:Y|2026-03-12}}2026
{{Ctime:Y|2025-03-12}}2025
{{Ctime:Y|2022-03-12}}2022
{{Ctime:Y|2019-03-12}}2019
{{Ctime:Y|2016-03-12}}2016
{{Ctime:Y|2013-03-12}}2013
{{Ctime:Y|2010-03-12}}2010
{{Ctime:Y|2007-03-12}}2007
{{Ctime:Y|2004-03-12}}2004
{{Ctime:Y|2001-03-12}}2001
{{Ctime:Y|1998-03-12}}1998
{{Ctime:Y|1995-03-12}}1995
{{Ctime:Y|1992-03-12}}1992
<templatedata>

{ "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:}}]]