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

Get the Week Day Name from a date stored in a table... 1

Status
Not open for further replies.

SQLBI

IS-IT--Management
Joined
Jul 25, 2003
Messages
988
Location
GB
Hi,

Access VBA includes a WeekDayName function:

Code:
WeekdayName(Weekday(dteDate))
which returns Sunday to Saturday depending on the date parameter.

I've tried to use this in a JET SQL statment and it is not a vilid function.

Is there a JET function which will do the same thing and if so could someone please let me know the syntax.

Thanks in advance.


Leigh Moore
Solutions 4 MS Office Ltd
 
Hi Leigh,

You can use Format(Yourdate, "dddd").

Enjoy,
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top