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.
ミリ秒としてフォーマットされた 2 つの日付の間の日数の差を取得するにはどうすればよいですか。いいえ:
1377750038984 - 1329361285663 = xdays
どうもありがとう
var milliseconds = 1377750038984 - 1329361285663; var days = Math.floor( (milliseconds / (1000*60*60*24)) );