7,785
社区成员




private sub command1_click()
dim s as integer
dim n as date
dim m as date
n=#0:1:0#
m=#23:59:0#
s=datediff("n",n,m)
label1.caption=s
end sub
Private Sub command1_click()
Dim s As Integer
Dim n As Date
Dim m As Date
n = #12:01:00 AM#
m = #11:59:00 PM#
s = DateDiff("n", n, m)
Label1.Caption = IIf(s > 2, s - 1440, s)
End Sub