For Programmers: Free Programming Magazines  


Home > Archive > ASP > June 2005 > Changing Default Weekday settings









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Changing Default Weekday settings
A P

2005-06-07, 8:55 pm

By default, Wday setting starts on sunday which is 1. How can I change to
use Wday to start on monday?

Me


Dave Patrick

2005-06-08, 3:55 am

For what application?

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"A P" wrote:
| By default, Wday setting starts on sunday which is 1. How can I change
to
| use Wday to start on monday?
|
| Me
|
|


A P

2005-06-08, 3:55 am

Our customer uses that format. They categorize monday as day 1, tues as day
2, and so on... Any suggestion?
"Dave Patrick" <mail@Nospam.DSPatrick.com> wrote in message
news:OwI#6q7aFHA.3184@TK2MSFTNGP15.phx.gbl...
> For what application?
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "A P" wrote:
> | By default, Wday setting starts on sunday which is 1. How can I

change
> to
> | use Wday to start on monday?
> |
> | Me
> |
> |
>
>



Dave Patrick

2005-06-08, 3:55 am

There's no global setting for the operating system. This probably needs to
be setup at the application level.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"A P" wrote:
| Our customer uses that format. They categorize monday as day 1, tues as
day
| 2, and so on... Any suggestion?


dlbjr

2005-06-08, 3:55 am

Function GetSpecialWDay(int1)
If CInt(int1) > 1 Then
GetSpecialWDay = int1 - 1
Else
GetSpecialWDay = 7
End If
End Function

--
'dlbjr
'Pleading sagacious indoctrination!


Jerold Schulman

2005-06-08, 3:55 pm

On Wed, 8 Jun 2005 06:22:55 +0800, "A P" <ap@textguru.ph> wrote:

>By default, Wday setting starts on sunday which is 1. How can I change to
>use Wday to start on monday?
>
>Me
>

Set iFirstDayOfW to 0 using tip 3452 » Windows 2000 regional settings in the registry.
HKEY_CURRENT_USER\Control Panel\International

Also at
HKEY_USERS\.DEFAULT\Control Panel\International
on every computer.



Dave Patrick

2005-06-08, 3:55 pm

I see Jerold answered this. Here's more info on this.

http://www.microsoft.com/resources/...entry/69560.asp

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com