Adding a day to a date
Posted: Wed Nov 06, 2002 10:40 am
Hi..
how to add a given number of say to a date value??
i have to discard the data in my table which are 3/4 or
whatever days(specified in table) older that posted date...
lets say posted date is 2002-11-05 and another column contains the max days is 5
so 2002-11-05 + 5 days = 2002-11-10
this is what i need to get??? how 2 do it in PHP?
is there any function??
how to add a given number of say to a date value??
i have to discard the data in my table which are 3/4 or
whatever days(specified in table) older that posted date...
lets say posted date is 2002-11-05 and another column contains the max days is 5
so 2002-11-05 + 5 days = 2002-11-10
this is what i need to get??? how 2 do it in PHP?
is there any function??