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

how to formate date in to mm/dd/yyyy 1

Status
Not open for further replies.

thep1

IS-IT--Management
Oct 8, 2012
25
US
I have field in DB that stores date in this format:
2018-07-02-00.00.00.000000

I would like have it format to 07/02/2018

tried this Exper1: Format([F7],"mm/dd/yyyy") but still shows in the above format.
 
You may try:
[tt]
Format(CDate(Left([F7], 10)), "mm/dd/yyyy")
[/tt]


---- Andy

There is a great need for a sarcasm font.
 
Thanks Andrzejek… that works.
 
thep1,
It's a good idea to mark a "Great Post" so that others know the question has been answered. This also gives some credit to the person who provided the solution.

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top