主题:如何用两个时间相减???
wujiangsun
[专家分:0] 发布于 2005-02-04 17:15:00
例如:
2004/12/1 15:00:01 与2004/12/2 13:11:05
有没有时间相减的函数。
回复列表 (共1个回复)
沙发
pdsmgc [专家分:60] 发布于 2005-02-11 18:04:00
Determines the number of days one date occurs after another.
DaysAfter ( date1, date2 ):Long
Obtains the date that occurs a specified number of days after or before another date.
RelativeDate ( date, n ):Date
Obtains a time that occurs a specified number of seconds after or before another time within a 24-hour period.
RelativeTime ( time, n ):Time
Determines the number of seconds one time occurs after another.
SecondsAfter ( time1, time2 ):Long
我来回复