Print

Print


Sorry, I made a mistake anyway (brain was in stand-by).. ISO 8601 specifies 
1 for Monday in Wnn-n, e.g. W12-7 for Sunday week 12.
They count weeks starting (implicitly with 0 for Sunday or) 1 for Monday 
(Week One also includes Monday in the period 29 Dec to 4 Jan) to 7 for 
Sunday (with 0 eq 7). Zero is generally not used and ISO 8601 stars with 1 
for Monday. The Unix date format also uses 1 for Monday but starts counting 
with 0 for Sunday and does mod 7.


On Thu, 24 Feb 2011 13:10:03 +0100, [UTF-8?]SaaÅ¡ha Metsärantala wrote
> Hi,
> 
> > as Dnm where n is 1-7 (Sun to Sat) and m is
> > 1 to 5 (or -5 to -1). [...] 2011-02-D13
> > would be read as the 3rd Monday in Feb. 2011
> Which weekday would be day ONE: Sunday or Monday?
> 
> > The default day would be Sun.
> Many weekdays have different cultural meanings. I would prefer to avoid

Its all about culture. The International Calendar is far from neutral..
 
> any default weekday if there is not any obvious agreement on it and a 
> really strong reason for this choice.

Following ISO 8601 is probably the best path here...

> 
> Regards!
> 
> [UTF-8?]Saašha,


--

Edward C. Zimmermann, NONMONOTONIC LAB
http://www.nonmonotonic.net
Umsatz-St-ID: DE130492967