回 帖 发 新 帖 刷新版面

主题:如何用两个时间相减???

例如:
   2004/12/1 15:00:01 与2004/12/2 13:11:05
有没有时间相减的函数。

回复列表 (共1个回复)

沙发

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

我来回复

您尚未登录,请登录后再回复。点此登录或注册