Difference between revisions of "Template:Ctime:W"
Jump to navigation
Jump to search
imported>Orienomesh-w |
imported>Orienomesh-w |
||
| Line 1: | Line 1: | ||
| − | {{#expr:trunc(({{ctime:z|{{{1|{{ctime}}}}}}}- {{#time:w|{{{1|{{ctime}}}}}-{{ctime:z|{{{1|{{ctime}}}}}}}days +24hours}})/7) +({{#time:w|{{{1|{{ctime}}}}}-{{ctime:z|{{{1|{{ctime}}}}}}}days+24hours}}<4)}}<noinclude>[[Category:Chinese Traditional Date | + | {{#expr:trunc(({{ctime:z|{{{1|{{ctime}}}}}}}- {{#time:w|{{{1|{{ctime}}}}}-{{ctime:z|{{{1|{{ctime}}}}}}}days +24hours}})/7) +({{#time:w|{{{1|{{ctime}}}}}-{{ctime:z|{{{1|{{ctime}}}}}}}days+24hours}}<4)}}<noinclude>[[Category:Chinese Traditional Date]]<templatedata> |
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "aliases": [ | ||
| + | "d" | ||
| + | ], | ||
| + | "label": "date", | ||
| + | "description": "the date in the Gregorian calendar" | ||
| + | } | ||
| + | }, | ||
| + | "description": "to get the week number of the year" | ||
| + | } | ||
| + | </templatedata> | ||
| + | </noinclude> | ||
Revision as of 13:28, 8 February 2015
11
to get the week number of the year
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| date | 1 d | the date in the Gregorian calendar | Unknown | optional |