Difference between revisions of "Template:Ctime"

From Nordic Larp Wiki
Jump to navigation Jump to search
en>Cydebot
m (Robot - Moving category Chinese Traditional Date and Time to Category:Chinese traditional date and time templates per CFD at Wikipedia:Categories for discussion/Log/2015 March 10.)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 03:13, 2 January 2019

2024-04-24

Template documentation[view] [edit] [history] [purge]
Description current output
A am/pm of day am
a a/p of shí a
B Bāzì upon solar JC-WC-ZW-KH
b Bāzì upon lunar JC-WC-ZW-KH
C Stem-branch of year Jiǎchénnián
c Stem-branch of year 40
D Weekday, 0=Sunday 3
d Day of month 16
E Year upon an epoch 4722AH
e Year upon an 114BC 2138
F Month name Sānyuè
FdY Date in common format Sānyuè 16, 2024
f Full month number 03
G Gēng Wǔgēng
g Gēng number 5
go Gēngdiǎn 5:12
H Hour in 24h format 05
Hms Time in 24h format 05:17:31
h Hour in 12h format 05
I Intercalary flag 0
i Mils pass shí 72
J Mils past diǎn 72
j Mils past 2
K 22
k in shí 2
kS Shíkè premosh

2 ke2 fen

L Intercalary month. 0
l Lunar information 2349
M Month number 3
m Minute 17
N Month index 3
n Month offset 59
O Diǎn 13
o Diǎn in gēng 1
oG Gēngdiǎn wug 1 point 22 fen
P Phase and zodiac Year of wooden Dragon
p Phase and zodiac Mùlóngnián
Q Festival
q Solar term name 27, Summer Commences
R Solar term number 8
r Day before solar term 11
S Shí Mǎo
Sk Shíkè 16:02
s Second 31
T Year length 354
t Month length 29
U Timestamp(hjjs) 0712/10110316R2202
u Timestamp 20240316T051731
V Solar term of year 5
v Solar term of month 1
W Week of year 11
w Week of month 3
Y Year number 2024
Yfd Date in regular format 2024-03-16
y Year offset 40
Z Stem-branches of day 55
z Day of year 75

The templates convert the date and time in the Gregorian calendar to the Chinese calendar. The range of date is within the nearest 11 Metonic cycles, from the year 1905 to 2113.


Usage

Date related

ctime is the format in the Gregorian calendar, today is default and gives 2024-04-24

ctime:FdY is the common format. Today is default and gives Sānyuè 16, 2024
Note: Yīyuè is the intercalary month after Zhēngyuè; Shíèryuè is the common month of intercalary Làyuè.

ctime:Yfd is the regular format. Today is default and gives 2024-03-16
Notes: 00:Zhēngyuè;01:Zhēngyuè/Yīyuè;02~11:Èryuè~Shíyīyuè;12:Shíèryuè/Làyuè;13:Làyuè;R2~R9:Rùnèryuè~Rùnjǐuyuè;R0:Rùnshíyuè;R1:Rùnshíyiyuè

ctime:B is the date and shí in Bāzì format upon solar term. Now is default and gives JC-WC-ZW-KH
Notes: Using the initial of pinyin except Z for ji, and K for gui.The range of the year is from the day of the winter solstice to the day before the next winter solstice.

ctime:b is the date and shí in Bāzì format upon lunar month. Now is default and gives JC-WC-ZW-KH
Notes: Using the initial of pinyin except Z for jǐ, and K for guì. The years are beginning on Zhēngyuè 1st. The stem-branches of the intercalary month is the same as the corresponding common month. The days are beginning at dawn.

Day related

ctime:Z is the number of the date in stem-branches format. Today is default and gives 55
Notes: from 0 to 59, and 0 is Jiǎzǐ

Month related

Solar term related

Year related

ctime:c is the number of the year in stem-branches format. This year is default and gives 40
Notes: from 0 to 59, and 0 is Jiǎzǐ. The year means the calendric year beginning at Zhēngyuè 1st

ctime:C is the name of the year in stem-branches format. This year is default and gives Jiǎchénnián

ctime:P is the name of the year in phase-zodiac format. This year is default and gives Year of wooden Dragon

ctime:E|epoch|symbol is the number of the year upon the given epoch. This year is default and gives 4722AH
Notes: if the epoch is BC, add -, and the default is 2698BC

Time related

ctime:Hms is the iso format, now is default and gives 05:17:31

ctime:go is the regular format for Gēngdiǎn, now is default and gives 5:12

ctime:Sk is the regular format for Shíkè, now is default and gives 16:02

ctime:oG is the common format for Gēngdiǎn, now is default and gives wug 1 point 22 fen

ctime:kS is the common format for Shíkè, now is default and gives premosh 2 ke2 fen