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

Date extraction from Datetime field

Status
Not open for further replies.

kbrown73

MIS
Sep 9, 2004
32
US
crystal 8.5, ODBC, Access Database


How can I extract just the Date from a datetime field. I am trying to use the Datepart function, but it is returning errors...

my format needs to be mm/dd/yyyy

Thanks in advance.
 
Try DateValue like this:

DateValue ({DATABASE.TIME})
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top