Hi,
I have a timestamp, is there a function to add x number of weeks to this timestamp ?
Thanks
Hi,
I have a timestamp, is there a function to add x number of weeks to this timestamp ?
Thanks
$newtimestamp = strtotime("+6 weeks", $oldtimestamp);
Cool Dan, thanks.
You could also do the math
$x = 6; //# of weeks
$newtimestamp = $oldtimestamp + ($x * 7 * 24 * 60 * 60);