Jump to content

Template:Ctime:Y

From NicheWork
Revision as of 20:56, 7 February 2025 by w>NFSL2001
(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-26}}2024
{{Ctime:Y|2022-01-26}}2021
{{Ctime:Y|2019-01-26}}2018
{{Ctime:Y|2016-01-26}}2015
{{Ctime:Y|2013-01-26}}2012
{{Ctime:Y|2010-01-26}}2009
{{Ctime:Y|2007-01-26}}2006
{{Ctime:Y|2004-01-26}}2004
{{Ctime:Y|2001-01-26}}2001
{{Ctime:Y|1998-01-26}}1997
{{Ctime:Y|1995-01-26}}1994
{{Ctime:Y|1992-01-26}}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:}}]]