Difference between revisions of "Template:Ctime:W"
Jump to navigation
Jump to search
imported>Orienomesh-w |
imported>Cydebot m (Robot - Moving category Chinese Traditional Date to Category:Chinese traditional date templates per CFD at Wikipedia:Categories for discussion/Log/2015 March 10.) |
||
| Line 1: | Line 1: | ||
| − | {{#expr:trunc(({{ctime:z|{{{1|{{ctime}}}}}}}+{{#time:w|{{{1|{{ctime}}}}}-{{ctime:z|{{{1|{{ctime}}}}}}}days}})/7)+1-({{#time:w|{{{1|{{ctime}}}}}-{{ctime:z|{{{1|{{ctime}}}}}}}days}}>3)}}<noinclude>[[Category:Chinese | + | {{#expr:trunc(({{ctime:z|{{{1|{{ctime}}}}}}}+{{#time:w|{{{1|{{ctime}}}}}-{{ctime:z|{{{1|{{ctime}}}}}}}days}})/7)+1-({{#time:w|{{{1|{{ctime}}}}}-{{ctime:z|{{{1|{{ctime}}}}}}}days}}>3)}}<noinclude>[[Category:Chinese traditional date templates]]<templatedata> |
{ | { | ||
"params": { | "params": { | ||
Latest revision as of 23:59, 24 March 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 |