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

Convert date format

Status
Not open for further replies.

ulag

Programmer
Sep 4, 2001
23
0
0
US
I want to convert date format

from "July 23, 2002" to "YYYY-mm-dd" format.

Is there any simple solution around?
 
Try:

date("Y-m-d", strtotime("July 23, 2002")); ______________________________________________________________________
Never forget that we are
made of the stuff of stars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top