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!

date manipulation champ 1

Status
Not open for further replies.

onressy

Programmer
Mar 7, 2006
421
CA
hi potential "Date Manipulation Champ",

i have time stamp in this format: MM/DD/YYYY

Trying to format it like this: YYYY-MM-DD

Having no luck:

varDate = "8/30/2006"

Replace(varDate, inStr(Left(varDate "/", 2)&"/"), Right(varDate, 4)&"-")


Any suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top