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.
javascript で次の日付を「mm/dd/yyyy h:mm:ss」にフォーマットするにはどうすればよいですか?
/Date(-62135571600000)/
現在のタイムゾーン:
new Date(-62135571600000); //=> Mon Jan 01 1 02:00:00 GMT-0500 (Eastern Standard Time)
それはあなたが探しているものですか?したがって、そのオブジェクトから必要な日付プロパティを簡単に引き出して、好きなようにフォーマットすることができます...