Vivid Lust Posted February 17, 2008 Share Posted February 17, 2008 How can i turn: 1992-08-28 into 28th August 1992 ??? Thanks so much in advanced! Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted February 17, 2008 Share Posted February 17, 2008 You can find everything you need to do this in the manual. Specifically on this page. Quote Link to comment Share on other sites More sharing options...
Stooney Posted February 17, 2008 Share Posted February 17, 2008 try strtotime Quote Link to comment Share on other sites More sharing options...
Vivid Lust Posted February 18, 2008 Author Share Posted February 18, 2008 Could someone do it for me??? Please? I'm a no0b and I'm stuck. Quote Link to comment Share on other sites More sharing options...
uniflare Posted February 18, 2008 Share Posted February 18, 2008 shouldnt do this really but ah well: <?php $date = "1992-08-28"; // starting format $date2 = strtotime($date); // convert to unix timestamp echo(date("jS F Y",$date2)); // convert timestamp to a format you specify ?> --- ps you wont learn near as fast/well if its done for you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.