hntygi889 发表于 2011-11-1 22:33:49

求高手帮忙转一下日期格式

#include <Date.au3>

$time= _NowTime()
$now = _NowCalc();获取当前日期时间
MsgBox(0,'',"现在时间为:" &$now,$time)

得出来的结果是 :年/月/日 :00:00:00有什么方法可以转换成 : 年-月-日 :00:00:00

hntygi889 发表于 2011-11-1 22:34:04

自己顶一下

happytc 发表于 2011-11-1 22:40:43

#include <Date.au3>

MsgBox(0,'',"现在时间为:" & _Now())

hntygi889 发表于 2011-11-1 22:44:38

谢谢,可以了。
页: [1]
查看完整版本: 求高手帮忙转一下日期格式