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.
この形式「2012-04-10T15:57:51.013」を Jquery または Javascript を使用して Date JavaScript オブジェクトに変換するにはどうすればよいですか。
シンプルな JavaScript 日付:
var x = '2012-04-10T15:57:51.013'; var dateObject = new Date(x);
デモ
すべてのブラウザで機能するとは限りません。datejsを使用する方が良いでしょう