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}}}}}}} | + | {{#ifexpr: {{#time:z|{{{1|{{ctime}}}}}}}-{{ctime:y|{{{1|{{ctime}}}}}}} < 0 |
| − | -{{ctime:y | ||
|{{#expr: {{#time:z|{{{1|{{ctime}}}}}}} | |{{#expr: {{#time:z|{{{1|{{ctime}}}}}}} | ||
| − | -{{ctime:y | + | -{{ctime:y|{{{1|{{ctime}}}}}}} + {{#time:z|{{#time:Y|{{{1|{{ctime}}}}}}}-1-1 -1days}}+2}} |
| − | |{{#expr: {{#time:z|{{{1|{{ctime}}}}}}} | + | |{{#expr: {{#time:z|{{{1|{{ctime}}}}}}}-{{ctime:y|{{{1|{{ctime}}}}}}}+1}}}}<noinclude>[[Category:Chinese Traditional Date and Time]] |
| − | -{{ctime:y | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Revision as of 15:13, 19 January 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 |