dayofweek enumeration

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gary Brewer

    dayofweek enumeration

    Why did Microsoft decide to start the DateTime.DayOfW eek enumeration with
    Sunday and ending on Saturday. I thought that a week began on Monday rather
    than Sunday? Or is this an age old unresolved question?

    G


  • Jon Skeet [C# MVP]

    #2
    Re: dayofweek enumeration

    Gary Brewer <gary@nospam.co m> wrote:[color=blue]
    > Why did Microsoft decide to start the DateTime.DayOfW eek enumeration with
    > Sunday and ending on Saturday. I thought that a week began on Monday rather
    > than Sunday? Or is this an age old unresolved question?[/color]

    The day that a week begins on depends on culture and often even within
    a culture you will get different versions. For instance, if I buy a
    diary from most shops in the UK, I suspect that the weeks would start
    on Mondays - that's more common for business uses. However, the diary
    that I have as a trainee local preacher has Sunday as the first day of
    the week, as that's the Christian view of things (at least in the UK).

    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    Working...