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:d|{{{1|{{ctime}}}}}}} | + | {{#expr:trunc(({{ctime:d|{{{1|{{ctime}}}}}}}+{{#time:w|{{{1|{{ctime}}}}}-{{ctime:d|{{{1|{{ctime}}}}}}}days}})/7)+1-({{#time:w|{{{1|{{ctime}}}}}-{{ctime:d|{{{1|{{ctime}}}}}}}days}}>3)}}<noinclude>[[Category:Chinese Traditional Date]]<templatedata> |
{ | { | ||
"params": { | "params": { | ||
Revision as of 14:54, 8 February 2015
3
to get the week number of the month
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| date | 1 d | the date in the gregorian calendar
| Date | optional |