回复:(xhydxs)如何计算工作日天数? Post By:2020/12/22 15:52:00 [显示全部帖子]
Days
返回时段数据的天数。
例如:
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 & "秒")