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? Quote 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" Quote Link to comment https://forums.phpfreaks.com/topic/249303-date-format/#findComment-1280131 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.