Template:ISOWEEKDAY

2006 gives the wikitext 2.

This template computes the ISO (1=Monday, 7=Sunday) for a given Gregorian date.

Alternative weekday number systems are: Syntax :
 * 1=Monday, .., 6=Saturday, 0=Sunday, used by variable
 * 0=Monday, .., 5=Saturday, 6=Sunday, used by
 *  


 * The year must be astronomical (year=1 in (), year=0 in 1 BC, year=-1 in 2 BC).
 * The month is between 1 and 12 from january to december.
 * The day is normally between 1 and 31.

Examples

 * , and is eqv. with

Examples where the ISO year is three days into the previous gregorian year



 * gives
 * integer MJD of Thursday of the week:
 * isoyear:
 * integer MJD of Thursday of the week of 1 Jan of the same year:
 * week number: