The function date("y-M-d H:m:s") returns 12-Jul-23 19:07:35.
But I need it to return 2012-07-23 19:07:35.
How do write 07 instead of Jul and 2012 instead of 12 (yyyy does no do this).
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
this should work: