data problem in php?
Posted: Sat Mar 06, 2010 4:48 am
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
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