Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ok why does a week start with sunday ... 1

Status
Not open for further replies.

N3XuS

Programmer
Mar 1, 2002
339
BE
I don't know but here weeks "start" on monday. So that's the order i Place the checkboxes in where you can check on which days you want to place something on the calender (can do this biweekly etc for x weeks), but by default sunday = day 0 and not monday. This is really anoying to work with. I saw some stuff about firstdayofweek with calenders but nothing to set it as a general setting for my application. Is there anyway to tell ASP.net to start with monday as day 0 ?
 
wheres here?? A seven day week starts on Sunday. I think that's standard everywhere.

 
Well this little thingy costed me quite some time to get it right ... :s Didn't find any way to let the standard week start on monday :( Seriously though ... I can give a lot of examples pointing out that sunday is 7th day. In the bible for starters lol (not that I'm religeous) but like euh weekend --> week-end ... there's no weekstart is there lol. It's just completely contradictive with a lot traditional stuff.
 
n3XuS: I agree. If someone where to ask me which day of the week was the first, or beginning, I would have said Monday, Sunday being the "last" day of the week. For the life of me I haven't a clue why Sunday would be the first. However, one clue which may lead you to an answer lies in Calendars, which seem to spread across the page as S M T W T F S which is to say, Sunday is the first day.
 
Sunday is known as "The Day of Rest" Now, Sat & sun are known as "Rest Days" but regarding a 7 day work week Monday would seem to be the first day of the week. Which now a days I would agree with. But Sunday really is the first day of the week.

 
Hear Ye! hear ye! Sunday is a day of rest; so who wouldn't want to "start" the week with a day off! Sounds good to me.

Someone will drop by with the hard facts; evidently none of here is up on the subject.
 
every pay period I have had starts with sunday ends on a saturday. This could quite possibly be a accounting feature instead of a "world law".
 
*lol* I did some search on subject. It seems the reason is more religious than practical.

Qoute:
The Bible clearly makes the Sabbath the last day of the week, but does not share how that corresponds to our 7 day week. Yet through extra-biblical sources it is possible to determine that the Sabbath at the time of Christ corresponds to our current 'Saturday.' Therefore it is common Jewish and Christian practice to regard Sunday as the first day of the week (as is also evident from the Portuguese names for the week days). However, the fact that, for example, Russian uses the name "second" for Tuesday, indicates that some nations regard Monday as the first day.

In international standard ISO-8601 the International Organization for Standardization (ISO) has decreed that Monday shall be the first day of the week.
:Unqoute

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
 
Some mmm heh, I think you'll find most countrys do. They all do in europe anyhoo.. I think, actually I never even heard of ppl starting their week on sunday or even saw a calender pointing that out... so was kinda baffled :) Funny euh discussion though :p Looked up some stuff as well euh fhlee the jewish hold their sabbath on saturday ... christians sunday, because jesus introduced it or somthing like that, and jews don't go with Jesus hence the difference I guess. The real question remains though ... who messed up first. Does every "standard" have to be tampered with to make everything into a programmer's hell. Well I'm just glad chinese didn't make VB.net ... wouldn't wanna work with that calender. They start their week with a horse no ? lol /sarcasm.
On topic though ... is there no way to set this with some local date thing in .NET ?
 
*heh* I believe the muslims (islamic) starts their work on a Sunday *shrug*

Anyway, I don't see why you'll need to change it as it's rather easy to 'adopt' the Sunday=0 default.

However, if you insist *heh* then you can go toy around with the DateTimeFormatInfo class (System.Globalization). I never did coz I tot it's easier to just Now.Day+1.

Another way is to create a new Date class that inherit the original System.Date class. Then you can override the Day property...

But: Now.day+1 works easy enough for me....

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top