Possible Duplicate:
A non well formed numeric value encountered
Why doesn’t this work?
echo gmdate('Y-m-d H:i:s',strtotime('+7 days','2035-01-01 00:00:00'));
The error I see is:
A non well formed numeric value encountered
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.
The second parameter of
strtotimeexpects a timestamp, not a string. See the manual onstrtotime.You can use
strtotimeagain on your second parameter to get what you want: