Jump to content

Template:Ctime:Y

From NicheWork
Revision as of 13:42, 19 January 2026 by MarkAHershberger (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

2025

Template documentation

Examples

Input Output
{{Ctime:Y|2026-01-26}}2025
{{Ctime:Y|2025-01-25}}2024
{{Ctime:Y|2022-01-25}}2021
{{Ctime:Y|2019-01-25}}2018
{{Ctime:Y|2016-01-25}}2015
{{Ctime:Y|2013-01-25}}2012
{{Ctime:Y|2010-01-25}}2009
{{Ctime:Y|2007-01-25}}2006
{{Ctime:Y|2004-01-25}}2004
{{Ctime:Y|2001-01-25}}2001
{{Ctime:Y|1998-01-25}}1997
{{Ctime:Y|1995-01-25}}1994
{{Ctime:Y|1992-01-25}}1991
<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:}}]]