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!

Change Date format

Status
Not open for further replies.

pho01

Programmer
Mar 17, 2003
218
US
How do you change the date and time format to 'yyyy-mm-dd hh:mm:ss'?

For example, if you run:
Today = Now
It would give you: '08/14/2003 7:30 PM'

I want it to be showed: '2003-08-14 7:30:00'

What function would it change the time format?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top