2016年nba选秀重排:asp 中怎么比较不同时刻now()得出的时间是差几分钟

来源:百度文库 编辑:神马品牌网 时间:2024/05/05 20:04:47
asp 中怎么比较不同时刻now()得出的时间是差几分钟

n=Year(date())
y=Month(date())
r=Day(date())
s=Hour(time())
f=Minute(time())
m=Second(time())
if len(y)=1 then y="0" & y
if len(r)=1 then r="0" & r
if len(s)=1 then s="0" & s
if len(f)=1 then f="0" & f
if len(m)=1 then m="0" & m
sj=n & "-" & y & "-" & r & " " & s & ":" & f & ":" & m