954,582 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Day by being Monday, Tue etc...

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 ?

namit
Light Poster
44 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

Use the Weekday(date,[firstdayofweek]) function, it'll return a number from 1 to 7 where 1=Sunday and 7 = Saturday.

mnemtsas
Posting Whiz in Training
200 posts since Jul 2004
Reputation Points: 16
Solved Threads: 1
 

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

WeekdayName(Weekday(Date))

jwshepherd
Junior Poster
123 posts since Jun 2005
Reputation Points: 20
Solved Threads: 5
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You