Hello everyone,
I want to add one year to a date with this format: "2007-12-13" so I can say if today's date is smaller than the one on the database + 1 year.
Can someone has a way to add it.
When I print $todayDate+1; the result = just the year "2008" but not "2008-12-13".
PHP has lots of details but sometimes examples are too complicated for nothing and my brain is tired now.
Thanks anyone.
I want to add one year to a date with this format: "2007-12-13" so I can say if today's date is smaller than the one on the database + 1 year.
Can someone has a way to add it.
When I print $todayDate+1; the result = just the year "2008" but not "2008-12-13".
PHP has lots of details but sometimes examples are too complicated for nothing and my brain is tired now.
Thanks anyone.