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!

Date Format 1

Status
Not open for further replies.

gregmw

MIS
Jun 11, 2002
23
NZ
I have a field in Access which is formated as Date/Time I would like to make a field from this that is formated Just date "dd/mm/yyyy" is there an easy fomula in access for this?

Thanks very much
 
Try this...

SELECT formatDateTime(myField,2) FROM myTable Get the Best Answers! faq333-2924
Is this an asp FAQ? faq333-3048

mikewolf@tst-us.com
 
I am using Access 97 and it dosen't regonise the function formatDateTime
 
MIght be a better way, but this works...

SELECT dateSerial(year(entered_on), month(entered_on), day(entered_on))
FROM jobs; Get the Best Answers! faq333-2924
Is this an asp FAQ? faq333-3048

mikewolf@tst-us.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top