6
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

メモ:ExcelでJavaやJSのmillisecondsのタイムスタンプを読めるようにする

6
Last updated at Posted at 2015-04-03

JavaやJS、データベースから出力されたエポックからの経過秒や経過ミリ秒の値をExcelで表示したいときが多々あるのでその方法です。

Excel

 = (<TimeStamp> / 86400000) + DATE(1970,1,1)

ミリ秒じゃなくて秒の場合は86400000の部分を86400にすればOK。

データベースやTreasureDataから取り出した値を読みたいときに重宝します。

6
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?