if i have a date such as 10/10/10 how do i display (in date format) 2 weeks after that? i think it has to do with strtotime but i dont know how to write it. im looking at the php.net site and cant figure it out.thnx
+3
A:
Try this
date('y/m/d', strtotime('+2 weeks', strtotime('10/10/10')));
Mark
2010-03-05 02:45:08
+1
A:
I'm not 100% what you need, but we'll give it a try:
$defaultTime = strtotime('+2 week',strtotime('10/10/10'));
nute
2010-03-05 02:45:17
Mark's answer is more complete.
nute
2010-03-05 02:45:50