I'm tired of adding 10 weekdays. Everything is in order, but it cleans the temporary part. Do you know, why?
$now = date("Y-m-d H:i:s");
echo $now.'<br>';
$mod = strtotime($now." +10 weekdays");
echo $mod.'<br>';
echo date("Y-m-d H:i:s",$mod).'<br>';
Conclusion:
2011-05-23 14:34:02
1307311200
2011-06-06 00:00:00
My expected result:
2011-06-06 14:34:02
Thank.
user669677
source
share