Seconds
返回时段数据的秒数。
例如:
Dim
d1
as
Date
= #3/17/2002 12:30:29#
Dim
d2
as
Date
= #1/1/2008 10:11:49#
Dim
t
As
TimeSpan = d2 - d1
Output.Show(t.Days &
"天"
& t.Hours &
"小时"
& t.Minutes &
"分"
& t.Seconds &
"秒"
)
上述代码的输出结果是:2115天21小时41分20秒
本页地址:
http://www.foxtable.com/webhelp/topics/0292.htm