sungpeng Posted October 18, 2011 Share Posted October 18, 2011 $date =date("d F Y"); It will display 18 October 2011. If I need it to display 2011-10-18. How do it go about coding it? Link to comment https://forums.phpfreaks.com/topic/249303-date-format/ Share on other sites More sharing options...
sungpeng Posted October 18, 2011 Author Share Posted October 18, 2011 change it to "m" Link to comment https://forums.phpfreaks.com/topic/249303-date-format/#findComment-1280131 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.