<BR>//通常用于定制服务的时候使用,比如包月会员,包年等等 <br><br>//获取当前时间过一个月的时间,以DATETIME格式显示 <br><br>date('Y-m-d H:i:s',strtotime('+1 month')) <br><br>//获取当前时间过一个月的时间,以时间戳格式显示 <br><br>strtotime(date('Y-m-d H:i:s',strtotime('+1 month'))) <br><br>//以下是年,月,周,天,时,分秒的用法 <br><br>date("Y-m-d H:i:s", strtotime(" +2 year")); <BR>date("Y-m-d H:i:s", strtotime(" +2 month")); <BR>date("Y-m-d H:i:s", strtotime(" +2 week")); <BR>date("Y-m-d H:i:s", strtotime(" +2 day")); <BR>date("Y-m-d H:i:s"<em>/本2文来源[email protected]搞@^&代*@码2网</em><strong>搞gaodaima代码</strong>, strtotime(" +2 hour")); <BR>date("Y-m-d H:i:s", strtotime(" +2 minute")); <BR>date("Y-m-d H:i:s", strtotime(" +2 second")); <BR>