php时间 求助各位$startdate=strtotime($xxxx);$enddate=date("$xxxx",strtotime("+3 months"));上面$enddate 这句对吗??把$xxxx 的时间戳加上三个月的值,然后变成日期。对吗??如果只是把$xxxx 的时间戳加上三个月的值,不变成日期,保留时间戳,该怎么写呀??一直有错误,快崩溃了。谢谢各位 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <?php $s=strtotime("2010-3-26");$date=strtotime(" +3 month",$s);echo date("Y-m-d",$date);?> 发现一个in_array很奇怪的问题 http_build_query 函数疑问 登陆的时候怎样记录用户名 使用curl模拟登录时提示The URL has moved here 处理表单-如何获得来自html表单输入的数值 php exec 調用外部exe文件 菜菜鸟提问,有关mysql与php 请问哪位有PHP4.3.0以上的版本??或者下载地址。请告之。谢谢!!急!!!在线等!! utf-8 如何转换成gb2312 Zend studio12.0.1是不是不能提示javascript代码啊? php curl tftp php时间问题
<?php
$s=strtotime("2010-3-26");
$date=strtotime(" +3 month",$s);
echo date("Y-m-d",$date);
?>