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

Formatting Date in (mm/dd/yyyy) 1

Status
Not open for further replies.

AgentM

MIS
Jun 6, 2001
387
US
I need to format the date field in mm/dd/yyyy.
Irrespective of what the user enters.
Can any body help?

Thanks
 
Try this

UserDate=your user date
myDate=Month(UserDate)+"/"+Day(UserDate)+"/"+Year(UserDate)

hope this helps... ________
George, M
 
Thank you people.
George's soln. works for me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top