I have mysql table name info contain field "date_retire(date)"
I enter the query as "UPDATE info SET date_retire = date_retire + 00600000"
means that I have to add 60 years with date_retire field.
which gives result like that 01-01-2070 if it was 01-01-2010.
But when I display the date_retire field on php page it gives 01-01-1970 instead of 01-01-2070.
How I solve the problem, please help me.
Adil
data problem in php?
Moderator: General Moderators
Re: data problem in php?
Refer this URL http://php.net/manual/en/function.date.php
And read "Changelog" section, this may be the problem.
And read "Changelog" section, this may be the problem.