943,931 Members | Top Members by Rank

Ad:
Aug 15th, 2005
0

Day by being Monday, Tue etc...

Expand Post »
Is there a way to get the day of the week when supplied with a date?

usign the date() function ie how do i find out what day of the week it is e.g. Monday, Tuesday, Wednesday, Thursday, etc ?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
namit is offline Offline
44 posts
since Jun 2005
Aug 15th, 2005
0

Re: Day by being Monday, Tue etc...

Use the Weekday(date,[firstdayofweek]) function, it'll return a number from 1 to 7 where 1=Sunday and 7 = Saturday.
Reputation Points: 16
Solved Threads: 1
Posting Whiz in Training
mnemtsas is offline Offline
200 posts
since Jul 2004
Aug 16th, 2005
0

Re: Day by being Monday, Tue etc...

This will give you a word for the name of the day.

WeekdayName(Weekday(Date))
Reputation Points: 20
Solved Threads: 5
Junior Poster
jwshepherd is offline Offline
123 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: how do I search for a name in table?
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: runtime error#58





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC