本地的时间使用很正常,但在泰国使用时出现问题。
例如:
dim a as integer
a=DateDiff("d",now(),CDate("2002-01-01"))
if a>0 then
msgbox ("yes") '中国与香港使用很正常
else
msgbox ("no") '泰国使用时居然会得到这个结果
end if
...全文
1125打赏收藏
关于跨时区的时间问题!
本地的时间使用很正常,但在泰国使用时出现问题。 例如: dim a as integer a=DateDiff("d",now(),CDate("2002-01-01")) if a>0 then msgbox ("yes") '中国与香港使用很正常 else msgbox ("no") '泰国使用时居然会得到这个结果 end if