All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
SQL,Server,2008在商务智能上的三个优化_mssql学习_编程技术
一些有实用价值的SQL语句_[SQL Server教程]
Windows环境PHP的session不能正常使用解决办法_[PHP教程]
用10个网络规划PEAR类简化PHP编码_[PHP教程]
SQL,Server,2000安装和基本框架_mssql学习_编程技术
探讨一种AJAX性能的改进方法_[Asp.Net教程]
扩展DropDownList控件和ListBox控件(1),-,支持分组功能(optgroup标签)_[Asp.Net教程]
C#技巧:网页表单自动填写技术(gmail为例)_[Asp.Net教程]
asp.net,ajax客户端编程+jquery-实现泛型数据的客户端数据调用、添加、删除_[Asp.Net教程]
Delphi 7功能强大的数据库访问技术
Reading number is top 10 pictures
Magnificent cloud1
The hot big eye big breast beauty3
美女浴室写真2
美洲杯宝贝的雨中风情1
China's programmers are live what kind, had a look at will know that
去瑜伽会所面试的经过
In 2013 hercules Arnold classic1
刘亦菲写真集1
Extremely rare TianShan Mountains snow lotus2
美女当网吧管理员的悲剧
Download software ranking
Popkart Cracked versions Mobile phone games
超级战舰
Boxer's Top ten classic battle9
Love the forty days
Desire a peach blossom
JSP+Ajax Web development typical examples
Unix video tutorial11
Sora aoi's film--cangkong_Blue.Sky
Tram sex maniac 2 (H) rar bag5
Eclipse 4.2.2 For Win32
归海一刀 published in(发表于) 2014/2/10 6:56:03 Edit(编辑)
计算两者相差几个月零几天_[PHP教程]

计算两者相差几个月零几天_[PHP教程]

计算两者相差几个月零几天_[PHP教程]


function diff(date, date1 = "now")
{
time = strtotime(date);
y = date("Y", time);
m = date("m", time);
d = date("d", time);


time1 = strtotime(date1);
_y = date("Y", time1);
_m = date("m", time1);
_d = date("d", time1);


if (y == _y)
{
m1 = m - _m;
}
else
{
m1 = m + (12 - _m);
}


if (d >= _d)
{
d1 = d - _d;
}
else
{
m1 --;
t1 = date("t");
d1 = d + (t1 - _d);
}


return m1 . "月零" . d1 . "天";
}







添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.