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

pick apart datetime to show day of week 1

Status
Not open for further replies.

LMCRYER

Programmer
Jul 30, 2001
388
US
I have a datetime field and I want to condition something on it and need to have a formula that tells me if that particular date is a saturday or sunday...any ideas? LMC cryerlisa@hotmail.com

select * from Management where proj_mgmt_skills <> NULL

0 records returned
 
DayOfWeek({DateTimeField})

This'll reveal a numerical output, between 1 and 7. 1 being Sunday, 7 being Saturday.

Naith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top