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.
我使用 Ajaxpro 将 javascript 对象从客户端传递到服务器端函数。在服务器端日期变量中,对象内部如下所示。这是什么意思?如何将其解析为格式化日期?
"/日期(1280381400000)/"
该数字可以是自 1970 年 1 月 1 日午夜以来的毫秒数。您需要通过传递此毫秒来构造日期对象,然后对其进行格式化。