۲۰۲۶-W-[expression " (((((۲۰۲۶)*12+(۱۲)+57608.5 round 0)/12-1.5 round 0)*1461/4-0.5 round 0) -((((۲۰۲۶)*12+(۱۲)+57608.5 round 0)/12-1.5 round 0)/100-0.5 round 0) +((((۲۰۲۶)*12+(۱۲)+57608.5 round 0)/12-1.5 round 0)/400-0.5 round 0) +((((۱۲)+57608.5 round 0)mod 12+4)*153/5-0.5 round 0)+(۶)-32167 )mod7+1" in DOW gives system message "خطای عبارت: نویسه نقطه‌گذاری شناخته نشده «۲»"]

The template returns today's date on the ISO 8601 weekformat YYYY-Www-D. Note that the year is the ISO year.

Examples

  • "{{CURRENTWEEKDATE}}" می‌دهد "۲۰۲۶-W-[expression "

(((((۲۰۲۶)*12+(۱۲)+57608.5 round 0)/12-1.5 round 0)*1461/4-0.5 round 0) -((((۲۰۲۶)*12+(۱۲)+57608.5 round 0)/12-1.5 round 0)/100-0.5 round 0) +((((۲۰۲۶)*12+(۱۲)+57608.5 round 0)/12-1.5 round 0)/400-0.5 round 0) +((((۱۲)+57608.5 round 0)mod 12+4)*153/5-0.5 round 0)+(۶)-32167 )mod7+1" in DOW gives system message "خطای عبارت: نویسه نقطه‌گذاری شناخته نشده «۲»"]" [۱]

See also

(((((۲۰۲۶)*12+(۱۲)+57608.5 round 0)/12-1.5 round 0)*1461/4-0.5 round 0) -((((۲۰۲۶)*12+(۱۲)+57608.5 round 0)/12-1.5 round 0)/100-0.5 round 0) +((((۲۰۲۶)*12+(۱۲)+57608.5 round 0)/12-1.5 round 0)/400-0.5 round 0) +((((۱۲)+57608.5 round 0)mod 12+4)*153/5-0.5 round 0)+(۶)-32167 )mod7+1" in DOW gives system message "خطای عبارت: نویسه نقطه‌گذاری شناخته نشده «۲»"]" [۴]