Difference between revisions of "Template:Ctime:z"
Jump to navigation
Jump to search
imported>Orienomesh-w |
imported>Orienomesh-w |
||
| Line 1: | Line 1: | ||
{{#ifexpr: {{#time:z|{{{1|{{ctime}}}}}}}-{{ctime:y|{{#time:Y|{{{1|{{ctime}}}}}}}}} < 0 | {{#ifexpr: {{#time:z|{{{1|{{ctime}}}}}}}-{{ctime:y|{{#time:Y|{{{1|{{ctime}}}}}}}}} < 0 | ||
| − | |{{#expr: {{#time:z|{{{1|{{ctime}}}}}}} | + | |{{#expr: {{#time:z|{{{1|{{ctime}}}}}}}+ {{#time:z|{{#time:Y|{{{1|{{ctime}}}}}}}-1-1 -1days}}+2-{{ctime:y|{{ctime:Y|{{{1|{{ctime}}}}}}}}}}} |
| − | |{{#expr: {{#time:z|{{{1|{{ctime}}}}}}}-{{ctime:y|{{ | + | |{{#expr: {{#time:z|{{{1|{{ctime}}}}}}}+1-{{ctime:y|{{ctime:Y|{{{1|{{ctime}}}}}}}}}}}}}<noinclude>[[Category:Chinese Traditional Date and Time]] |
<templatedata> | <templatedata> | ||
{ | { | ||
Revision as of 12:20, 1 February 2015
76
To get the day of the year in the Chinese calendar.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| date | 1 d | the date in the Gregorian calendar. yyyy-mm-dd | Date | optional |