calendar. Creating calendar for specified week

^date:calendar[rus|eng;year;month;day]

The method makes up a table with calendar for a week of specified
month of the year. Parameter day is used to specify the week. Parameter rus|eng is used to specify calendar's format. In format rus, the week starts with Monday, whereas in eng-with Sunday.

Example
$week_of_month[^date:calendar[eng](2001;11;30)]

As a result, variable
$week_of_month will be assigned a table with calendar for the week containing 30 October 2001. The table's format will be:

year

month

day

weekday

2001

11

25

00

2001

11

26

01

2001

11

27

02

2001

11

28

03

2001

11

29

04

2001

12

30

05

2001

12

01

06




Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 14.02.2008