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.
“6/14/2012:8:12 PM”希望使用 Java Script 或 Dojo 将其转换为毫秒(如 1338537600000)。
谢谢
两个步骤: 1. 将您的字符串转换为 javascript 日期。2. 调用 date.getTime()。