$beginTime="2012-01-01 12:20:36";

加一天时间:

$sj=date("Y-m-d", strtotime ("$beginTime +1 day"));

 

PHP strtotime函数详解:

http://www.jb51.net/article/21495.htm

相关文章: