working out the day

F

Fie

hi,

does anyone know the query formula that can work out the day from a
entered date.

cheers
fiona
 
J

Jason Lepack

hi,

does anyone know the query formula that can work out the day from a
entered date.

cheers
fiona

Day([your date/time field])

Cheers,
Jason Lepack
 
J

John Spencer

The name of the day
Format(Date(), "ddd") or Format(Date(),"dddd")

The weekday number ---1 to 7 (Sunday to Saturday)
Weekday(Date())

The day of the month --- 1 to 31
Day(Date())

The day of the year --- 1 to 366
DatePart("y",Date())

By the way, DatePart can be used to get the Weekday number and the day
number of the month.
--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 
Top