پرش به محتوا

الگو:CURRENTWEEKDAY

از ویکی‌پدیا، دانشنامهٔ آزاد

۵


Alias for the ParserFunction {{#time:w}}; returns the number of the day of the American week (currently ۵), from 0 (Sunday) to 6 (Saturday).

توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Returns the ISO week day number (0=Monday..6=Sunday). This number is coherent with all the ISO-based calendar templates, including WEEKDAY, WEEKDAYNAME, and so on...

Syntax:
{{CURRENTWEEKDAY}}
Note:

For the US week numbering use the built-in variable {{CURRENTDOW}} (0..Sunday..6=Saturday) !

  • Now: CURRENTDOW=۵
See also:
Template:WEEKDAY
Template:WEEKDAYNAME
Template:WEEKDAYABBREV
Template:CURRENTYEARCC
Template:CURRENTYEARYY
Template:CURRENTCENTURY
Template:CURRENTMONTHDAYS
Template:CURRENTWEEKDAYNAME
Template:CURRENTWEEKDAYABBREV
Template:CURRENTISOYEAR
Template:CURRENTMINUTE
Template:JULIANDAY