Date()
语法
Date = Date([Year, Month, Day, Hour, Minute, Second])概要
Returns the date value expressing the given parameters, or the current system date if no parameters are specified.
参数
Year, Month, Day, Hour, Minute, Second (optional) The components of the date to return. If these parameters are not specified, then the current system date and time are used.
返回值
Returns the specified date value.
示例
Debug Date() / (3600*24*365) ; will print the number of years since 01/01/1970 and now Debug Date(1999, 12, 31, 23, 59, 59) ; will print '946684799' (number of seconds between 01/01/1970 0:00:00 and 12/31/1999 23:59:59)
参阅
FormatDate(), Year(), Month(), Day(), Hour(), Minute(), Second()
已支持操作系统
所有