Jump to content

Convert a Date string into numeric date


Recommended Posts



I am trying to convert a String date into numeric date using PHP function's, but haven't found such function.

Had a look at date(), strtotime(), getdate();


e.g. Apr 1 2011  ->    04-01-2011


Could someone please shed some light on this?





Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.