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}})/7)+1-({{#time:w|{{{1|{{ctime}}}}}-{{ctime:z|{{{1|{{ctime}}}}}}}days | + | {{#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]]<templatedata> |
{ | { | ||
"params": { | "params": { |
Revision as of 15:00, 8 February 2015
17
to get the week number of the year
Parameter | Description | Type | Status | |
---|---|---|---|---|
date | 1 d | the date in the Gregorian calendar | Unknown | optional |