Jump to content

Template:Ctime:x/doc

From Wikipedia, the free encyclopedia

Example

[edit]

To calculate the date of the Chinese New Year in the Gregorian calendar (the current Western calendar):

  • {{ctime:x|2024|01|01}} → 2024-02-10
  • {{ctime:x|2027|01|01}} → 2027-02-06

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Ctime:x in articles based on its TemplateData.

TemplateData for Ctime:x

to get the date for the Chinese traditional date

Template parameters

ParameterDescriptionTypeStatus
year1 y

The year number in Chinese calendar

Default
2014
Numberoptional
month2 m

The month number, 0 for leap month

Default
12
Numberoptional
day3 d

The day number in Chinese calendar

Default
20
Numberoptional