Template:Current ISO week

2024/44/1 (2024-10-28, Mon)

Template documentation


Usage

Returns the formatted date for the current ISO week, given a reference ISO week.

Parameters

isoyear
(optional) the reference ISO year. The default value is {{CURRENTISOYEAR}} (or more exactly {{#time:xnY}} to be language-neutral, see the following remark).
isoweek
(optional) the reference ISO week in that year. The default value is {{CURRENTISOWEEK}} (or more exactly {{#time:xnW}} to be language-neutral, see the following remark).
format
(optional) format used to return the computed date. The default value is "o/W" with English digits, i.e. "xno/xnW" with the additional "xn" prefix to make sure decimal digits are not replaced by national variants (when the language specified below is Arabic, Persian, Hindi, Bengali, etc.). The sample shown here uses "o/W/N (Y-M-d, D)" ("N" should always return "1" for Monday, and "D" should always be "Mon" for English). You can also return an ISO date using "Y-m-d" (or more exactly "xnY-xnm-xnd" in order to be language-neutral).
lang
(optional) the language code used to format the returned date. The default value is "en" for English.

See also