![]() |
|
| NoahWeb.net | 开发者交流中心 | 支持 | 文档 | 反馈缺陷 |
根据输入日期差异返回一个新的日期时间戳记,范围在公元(基督纪元)0001 年 1 月 1 日午夜 12:00:00 到公元 (C.E.) 9999 年 12 月 31 日晚上 11:59:59 之间的日期和时间。
|
||||||
|
||||||||||||||||||||
转换时间戳记,范围在公元(基督纪元)0001 年 1 月 1 日午夜 12:00:00 到公元 (C.E.) 9999 年 12 月 31 日晚上 11:59:59 之间的日期和时间。
<table width="100%" border="1" cellspacing="0" cellpadding="0">
</table> |
| date('N',totime(mktime(),-2)) | 2003-04-27 00:18:27 |
<table width="100%" border="1" cellspacing="0" cellpadding="0">
</table> |
| date('N',totime(mktime(),2)) | 2007-04-27 00:18:27 |
<table width="100%" border="1" cellspacing="0" cellpadding="0">
</table> |
| date('N',totime(mktime(),2,1,2)) | 2007-05-29 00:18:27 |
<table width="100%" border="1" cellspacing="0" cellpadding="0">
</table> |
| date('N',totime(mktime(),2,1,2,3,4,5,6)) | 2007-05-29 03:22:32 |
<table width="100%" border="1" cellspacing="0" cellpadding="0">
</table> |
| date('N',totime(mktime(),0,0,2,0,0,0,6)) | 2005-04-29 00:18:27 |
<Action name="logic.demo" NextAction="">
</Action> |
1999-03-11 15:33:30
<Action name="logic.demo" NextAction="">
</Action> |
2003-03-11 15:33:30
<Action name="logic.demo" NextAction="">
</Action> |
2003-04-11 15:33:30
<Action name="logic.demo" NextAction="">
</Action> |
2003-04-13 18:37:35
<Action name="logic.demo" NextAction="">
</Action> |
2005-04-25 00:26:50
| 参考 |
|---|
| mktime,date,totime,TimeSpan,CompareDate,CheckDate |
| Copyright © 2001-2004
The NoahWeb Corporation All rights reserved. |
|