Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在用:
<%= time %>
它回来了:
5:12:19
我现在是晚上 8:12:19
我怎样才能让它打印当地时间?
在调用时间之前,您必须为自己的时区设置 LocaleId(Session.LCID 或 SetLocale(lcid))。在此页面上查看有关SetLocale 和 LocaleID 的更多信息
<% myDateTime = DateAdd("h", 3, Time) %>