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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get the day of week in SQL in MS Access

Status
Not open for further replies.

paulobrads

Programmer
Jul 13, 2006
28
GB
I'm writing queries in MS access and need a way of determining the day of the week from a date value - any ideas?

Cheers.
 
WEEKDAY(datecol)

are you using microsoft access by itself or access as the front end for a microsoft sql server database? is this for a passthrough query?

r937.com | rudy.ca
 
Cheers,

I actually found

DatePart("w",Date()))=2

as a check to see if today's day is a Monday.

Many thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top