ããã«ã¡ã¯ãserver-side kotlin ã terraform ãæ¸ããã¨ãå¤ããã¨ã³ã¸ãã¢ãªã³ã°Gã®ç¢å´(id:Saiya)ã§ãã
ã¿ã¤ã ã¾ã¼ã³ãæ¥æã®æ±ãã«ã¤ãã¦ã®è©±é¡ãããããªæ¨ä»ã§ããã ãããã£ãæ¥æã®æ±ãã«ã¤ãã¦ä¾ãã°ä»¥ä¸ã®ãããªã話ãåãããã¨ãå°ãªãããããã¾ãã:
- ã¨ããããæ¥æ㯠UTC ããã®æå·®æ å ±ä»ãã§æ±ãã°ãããã§ããï¼
- DB ã«ä¿åããã¨ããã¿ã¤ã ã¾ã¼ã³æ å ±ä»ãã§å ¥ãã¦ããã°ãããã§ããï¼
ãããã£ãã話ãæ¯ãããéã«ãæãã¨ãããä¸è¨ã§ãµãã¨èª¬æã§ããããããããäºãããã ã¾ã web ãµã¼ãã¹ã«ããã¦æ¥æã»ã¿ã¤ã ã¾ã¼ã³ã»ãªãã»ãããã©ãæ±ãã¹ããï¼ç´å¾ã®è¡ã説æããã¾ãè¦ã¤ããããªãã£ãããã çè ãªãã«èããã¾ã¨ãã¦ã¿ã¾ããã
å½å®¶çç¥å ¸ã®ããã«æ¥ã«ãµãã¼ã¿ã¤ã ãå°å ¥ãããã¨ãã£ã話ã«éããã ã¯ã©ã¦ããµã¼ãã¹ã UTC+0 ã®æ¥æã«ãªã£ã¦ãããã¦ã¼ã¶ã¼å±¤ã¯æ¥æ¬æéã§ãããã¨ãã£ãçç±ã§ã ã¿ã¤ã ã¾ã¼ã³ã UTC ãªãã»ãã (æå·®) ãæ±ãå¿ è¦æ§ã®ããæ代ã§ãã®ã§ããåèã«ãã¦ããã ããã°ã¨æãã¾ãã
TL;DR
- ã¦ã¼ã¶ã¼ã¨ã®æ¥æ(LocalDateTime)ã®è§£éã表示å¦çã§ã¯ãå°åã®ã¿ã¤ã ã¾ã¼ã³("Asia/Tokyo" ãªã©)ã«åºãæ¥æ(ZonedDateTime)ãç¨ãã
- LocalDateTime ã®ä¾:
2018-08-09 00:56:34
- ZonedDateTime ã®ä¾:
2018-08-09 00:56:34 (Asia/Tokyo)
- LocalDateTime ã®ä¾:
- ã·ã¹ãã éã®æ¥ææ
å ±ã®ããã¨ãã DBã»ãã¡ã¤ã«ãªã©ã¸ã®æ¥æã®ä¿åã§ã¯ãUTC ããã®ãªãã»ããæ
å ±ä»ãã®æ¥æ (OffsetDateTime) ãå©ç¨ãã *1
- OffsetDateTime ã®ä¾:
2018-08-09T00:56:34+09:00
- API ãªã©ã§ã¯ä¸è¨ã®ãã㪠ISO-8601 ã®æ¡å¼µå½¢å¼ ãæè¿ã®ä¸»æµ
- OffsetDateTime ã®ä¾:
ãªããLocalDateTime, ZonedDateTime, OffsetDateTime ã¨ããç¨èªã¯ Java 8 Date and Time API (JSR-310) ã®è¡¨ç¾ãåç¨ãã¦ãã¾ããã æ¬ç¨¿ã®å 容ãèãæ¹ã¯ Java åºæã§ã¯ããã¾ããã
以ä¸ã詳細ã説æãã¾ã:
ã¦ã¼ã¶ã¼ã¨å ¥åºåããæ¥æ (LocalDateTime) ã¯ã¿ã¤ã ã¾ã¼ã³ä»ãã®æ¥æ (ZonedDateTime) ã¨å¤æãã¦æ±ã
ä¸è¬çãªã¦ã¼ã¶ã¼ã®æ¹ãæ®æ®µã使ãã® web ãµã¼ãã¹ã®ãã©ã¼ã ãæ¸é¡ã®è¨å ¥æ¬ã« "Asia/Tokyo" ãªã©ã¨ããã¿ã¤ã ã¾ã¼ã³ã "UTC+9" ãªã©ã¨ããæå·®æ å ±ãå ¥åããã¨ãããã¨ã¯ã»ã¼ãªãã¨æãã¾ã *2ã
ãããã£ã¦ãã¿ã¤ã ã¾ã¼ã³ãæå·®æ å ±ã®ãªãæ¥æ(LocalDateTime)ã®å ¥åãåããéã«ã¯ããã®æ¥æã空æ°ãèªãã§è§£éããå¿ è¦ãããã¾ãã ãã®ããã®æ段ã¨ãã¦ãã¦ã¼ã¶ã¼ãæ³å®ããå°åã®ã¿ã¤ã ã¾ã¼ã³(ä¾: "Asia/Tokyo")ã«å¾ã£ã¦æ¥æã解éããã¨ããæ¹æ³ãä¸è¬çã§ãã
çè ãç¥ãéãã»ã¼ããããç¾ä»£ç㪠OS, è¨èªå¦çç³», RDBMS ãªã©ã¯ tz database ã«å¯¾å¿ãã¦ããããã "Asia/Tokyo" ã¨ãã£ãã¿ã¤ã ã¾ã¼ã³ããããã°ããããç¨ãã¦æ¥æãæ£ç¢ºã«è§£éãããã¨ãå¯è½ã§ãã ãã£ã¦ã人éããå ¥åãããæ¥æ (LocalDateTime)ã«ã¿ã¤ã ã¾ã¼ã³æ å ±ãä»ä¸ãã (ZonedDateTime) ãã¨ã§æ¥æã®è§£éãå¯è½ã§ãã
ã¦ã¼ã¶ã¼ã«æ¥æã表示ããéã«ããã¦ã¼ã¶ã¼ãæ³å®ããå°åã®ã¿ã¤ã ã¾ã¼ã³ã§ã®æ¥æã表示ãããã¨ãä¸è¬çãã¨æãã¾ãã ãããå®ç¾ããããã«ã¯ãæ¥ææ å ±ãã¦ã¼ã¶ã¼ãæ³å®ããå°åã®ã¿ã¤ã ã¾ã¼ã³(ä¾: "Asia/Tokyo")ã«ãããæ¥æã«å¤æãã¦ããã表示ããã°ãããã¨ãä¸è¨ã®è°è«ã®éãããããã¾ãã
ãªããã¦ã¼ã¶ã¼ãæ³å®ããå°åã®ã¿ã¤ã ã¾ã¼ã³(ä¾: "Asia/Tokyo")ãã©ããã£ã¦ç¥ããï¼ã¯åå¥ãµã¼ãã¹ã®äºæ ã«å¼·ãä¾åãã¾ããã ä¾ãã°ä»¥ä¸ã®ãããªæ¹æ³ãèãããã¾ã:
- ã¦ã¼ã¶ã¼ã®è¨èªè¨å®ããã¨ã«æ¨æ¸¬ãã
- ã¢ããªã®åä½ãã¦ãã OS ã ãã©ã¦ã¶ã®ã¿ã¤ã ã¾ã¼ã³ æ å ±ãåå¾ãã
- å°åãã¨ã®ãã¡ã¤ã³ãç¨æããã¢ã¯ã»ã¹ããããã¡ã¤ã³ã«å¿ãã¦è§£éãã ("jp.example.com" ãªãã° "Asia/Tokyo" ã«ãããã¨ã)
- 対象ã¦ã¼ã¶ã¼ã®å°åãéããã¦ãããµã¼ãã¹ã§ãããªãã°ãä¸å®ã®ã¿ã¤ã ã¾ã¼ã³ã«åºå®ãã
人éããã®æ¥æã®å ¥å (LocalDateTime) ã®è§£éã«ãªãã»ãã (ä¾: UTC+9)ã使ããªãçç±
ä¾ãã°ãã©ã¦ã¶ã®å ´åãªãã»ãã(ä¾: UTC+9)ã¯ç°¡åã«åå¾ã§ãã¾ãããã¿ã¤ã ã¾ã¼ã³(ä¾: "Asia/Tokyo")ã®åå¾ã«ã¯ã²ã¨æéããããã¾ã (åè)ã
ãããã£ãçç±ã§ã人éããã®æ¥æã®å ¥å (LocalDateTime) ã®è§£éã«ãªãã»ãã (ä¾: UTC+9)ã使ããããªã£ã¦ãã¾ãããããã¾ãããã å è¿°ã®åèãã¼ã¸ ãªã©ã§ãè¨åããã¦ãã¾ãããã«ããã®æ¹æ³ã§ã¯ãµãã¼ã¿ã¤ã ãã¿ã¤ã ã¾ã¼ã³ã®æ¹å®ã¨ãã£ãäºè±¡ã«å¯¾å¿ã§ãã¾ããã ä¾ãã°ããã®ã¦ã¼ã¶ã¼ã¯ UTC+9 ã ãã¨æ±ºããã¡ãã¦ãã¾ãã¨ããå®ã¯ Asia/Tokyo ã¯åæ¥æã«ã¯å¤æé㧠UTC+7 ã«ãªããã¨ãã£ãå ´åã«ãåæ¥æã®æ¥ææ å ±ã誤ã£ã¦ UTC+9 ã§æ±ã£ã¦ãã¾ããã¨ã«ãªãã¾ãã
ãªã®ã§ããã¨ããããæ¥æ㯠UTC ããã®æå·®æ å ±ä»ã(OffsetDateTime)ã§æ±ãã° OKãã¨ãã£ãèãæ¹ã¯é©åã§ãªãã¨çè ã¯èãã¾ãã
æ¥æãä¿åãããã·ã¹ãã éã§æ¥æãåã渡ãéã«ã¯ UTC ããã®ãªãã»ããæ å ±ä»ãã®æ¥æ (OffsetDateTime) ã«ãã
ããã¾ã§ã®è°è«ã§ãã¦ã¼ã¶ã¼ã¨å ¥åºåããæ¥æãããã°ã©ã ä¸ã§å¦çããéã¯ã"Asia/Tokyo" ã¨ãã£ãã¿ã¤ã ã¾ã¼ã³ä»ãã®æ¥æ (ZonedDateTime) ã§æ±ãã¹ãã¨ãããã¾ããã
ããããã·ã¹ãã ééä¿¡ãæ
å ±ã®ä¿åã«ããã¦ã¯ã¿ã¤ã ã¾ã¼ã³ä»ãã®æ¥æ (ZonedDateTime) ã§æ±ããã¨ã¯ä»¥ä¸ã®ç¹ã§å¥½ã¾ãããªãã¨èãããã¾ããããããã«ã·ã¹ãã ééä¿¡ãä¿åã§ã¯ 2018-08-09T00:56:34+09:00
ã¨ãã£ã UTC ããã®ãªãã»ããæ
å ±ä»ãã®æ¥æ (OffsetDateTime) ã«ãããã¨ãè¯ãã¨èãã¾ãã
ã¿ã¤ã ã¾ã¼ã³ã®è§£éã OS, è¨èªå¦çç³», RDBMS ãªã©ã®éã§ä¸è´ããä¿è¨¼ããªããã
å è¿°ã®éããã¿ã¤ã ã¾ã¼ã³ã¯ä¸è¬ã« tz database ã®æ å ±ã«åºã¥ãã¦ãã¾ããããã OS, è¨èªå¦çç³», RDBMS ã¯ãããããåå¥ã«ãã¼ã«ã«ã®ãã¡ã¤ã«ã¨ã㦠tz database ã®æ å ±ãæã¤*3ãããããããã®éã§ã¿ã¤ã ã¾ã¼ã³ã®è§£éã常ã«ä¸è´ããä¿è¨¼ã¯ããã¾ããã
ä¾ãã°ããå½ãæ¥ã«ãµãã¼ã¿ã¤ã ã®å°å ¥ã決å®ããéã«ãã¢ããªã±ã¼ã·ã§ã³ã®åããµã¼ãã¼ãææ°ã® tz database ã§åä½ã RDBMS ãµã¼ãã¼ãå¤ã tz database ã§åä½ããå ´åãã¢ããªã±ã¼ã·ã§ã³å é¨ã§ã®æ¥ææ¼ç®ã¨ SQL ä¸ã§ã®æ¥ææ¼ç®ãé½é½¬ãããããã¨ã§åä»ãªãã°ããã¼ã¿æ±æãçºçãããã¨ãã£ãäºæ¡ãèãããã¾ãã
å ãã¦ãmicroservice æ§æãã¯ã©ã¦ããµã¼ãã¹ã®å©ç¨ãæ³å®ããå ´åãtz database ã®å 容ããäºãã«ä¸è´ãããã¨ã®ä¿è¨¼ãåççã«ä¸å¯è½ã§ããã±ã¼ã¹ãå¤ã ããã¾ãã
ãã£ã¦ãæ¥æã®è§£éã®ãºã¬ãäºé²ããã«ã¯ã"Asia/Tokyo" ã¨ãã£ãã¿ã¤ã ã¾ã¼ã³ä»ãã®æ¥æ (ZonedDateTime) ã web ãµã¼ãã¼ããä»ã·ã¹ãã ã¸éä¿¡ããã DB çã«ä¿åãããããã¹ãã§ã¯ãªãã¨ããã¾ãã
éå»ã®ãã¼ã¿ã«ãããã¿ã¤ã ã¾ã¼ã³ã®è§£éãæå³ããã«å¤ãã£ã¦ãã¾ããã
tz database ã¯å®ã¯ããªãã®é »åº¦ã§æ´æ°ããã¦ãã¾ããä¾ãã° 2018 å¹´ã§ã¯ 05 æã¾ã§ã®æç¹ã§ãã§ã« 5 åã®æ¹å®ãããã¾ãã (ãã¼ã¸ã§ã³ 2018aãe)ã
ãã®ããããã¼ã¿ãã¼ã¹ããã°ãã¡ã¤ã«çã« "Asia/Tokyo" ã¨ãã£ãå°åã®ã¿ã¤ã ã¾ã¼ã³ä»ãã®æ¥æ (ZonedDateTime) ãè¨é²ããå ´åãéå»ã«è¨é²ãã ZonedDateTime ãå°æ¥ã«ã¯ç°ãªã解éããã¦ãã¾ãå¯è½æ§ãçºçãã¾ãã
ä¾ãã°ã2018-07 æã« 2020-07-24 00:00:00 (Asia/Tokyo)
ã«æéåãããã©ã¤ã»ã³ã¹æ¨©ãçºè¡ãããã®å¾ã«å¤æéãå°å
¥ãããå ´åãã©ã¤ã»ã³ã¹æ¨©ã®æéã 1, 2 æéååãã«è§£éããã¦ãã¾ããã¨ã«ãªãã¾ããã©ã¤ã»ã³ã¹ã®æå¹æéã«æ¯ä¾ããéé¡ãæ¯æã£ã¦ããã¨ããã¨ãã¦ã¼ã¶ã¼ãæããããã¨ã«ãªã£ã¦ãã¾ãã¾ã *4ã
ãã®ããã«éå»ã®ãã¼ã¿ã®è§£éãæå³ããã«å¤ãã£ã¦ãã¾ãã¨ãããã¨ã¯ãã©ãã«ãæãã¬é½é½¬ã®åå ã«ãªãããããã¼ã¿ãã¼ã¹ããã¡ã¤ã«ãªã©æ°¸ç¶çãªè¨é²ã«å°åã¿ã¤ã ã¾ã¼ã³ä»ãã®æ¥æ (ZonedDateTime) ãç¨ããã®ã¯è¯ãèãã§ã¯ãªãã¨è¨ãã¾ãã
ãªãã»ããæ å ±ä»ãã®æ¥æ (OffsetDateTime) ã«ããæ¥ææ å ±ã®ã·ã¹ãã ééä¿¡ãä¿åã®ã¹ã¹ã¡
ããã¾ã§ã®èå¯ã®ã¨ããã"Asia/Tokyo" ã¨ãã£ãã¿ã¤ã ã¾ã¼ã³ä»ãã®æ¥æ (ZonedDateTime)ã¯ãæ¥ææ å ±ã®ã·ã¹ãã ééä¿¡ãä¿åã«ã¯é©ããªãã¨èãããã¾ãã
ãã¨ãã£ã¦åãªã å¹´/æ/æ¥ æ:å:ç§
(LocalDateTime) ã DB ã«ä¿åããã API ã§æ¸¡ãã¦ãã¾ãã¨ããã°ããªãã¬ã¼ã·ã§ã³ãã¹ã®æ¸©åºã«ãªã£ã¦ãã¾ãã¾ãã
ä¾ãã°ã¯ã©ã¦ããµã¼ãã¹ä¸ã® UTC ã§ã®æ¥æãæ¥æ¬æéã¨åéããã¦ãã¾ãããªã©...ã
ããã§ããµã¼ãã¼éãã·ã¹ãã éã§ã®æ¥ææ å ±ã®äº¤æãæ¥ææ å ±ã®ä¿åã§ã¯ãUTC ããã®ãªãã»ãã(æå·®)æ å ±ãä»ä¸ããæ段ãèãããã¾ãã ããã«ãã£ã¦ã tz database ã®å 容ã«ä¾åãããã¨ããªãããã¤åãéãã®ä½å°ãªãæ¥æãæ±ããã¨ãå¯è½ã§ãã ã¾ããtz database ã«åºã¥ãå¦çãå¤æéã®å¦çã¨ãã£ãè¤éãªè¨ç®å¦çãä¸è¦ã§ãããããé«ããã©ã¼ãã³ã¹ãã¤ã·ã³ãã«ãªæ¥æå¦çã¨ãªããã¨ãæå¾ ã§ãã¾ãã
ãªããæ¨ä»ã® web ã®å種æ¨æºè¦æ ¼ãã¯ã©ã¦ããµã¼ãã¹ã® API ãªã©ã§ã¯ããªãã»ããæ
å ±ä»ãã®æ¥æ (OffsetDateTime) ã®æåå表ç¾ã¨ã㦠2018-08-09T00:56:34+09:00
ã¨ãã£ã ISO-8601 ã®æ¡å¼µå½¢å¼ ãç¨ãããã¦ãããã¨ãå¤ãã§ãã
API ã®è¨è¨ãªã©ã§æ¥æãæååã¨ãã¦æ±ãéã¯ãç¹å¥ãªçç±ããªãéããã®å½¢å¼ãæ¡ç¨ããã¨è¯ãã§ãããã
ä½è«: UNIX time / UNIX epoch ã使ãã°ããã®ã§ã¯ï¼ã¨ããã¢ã¤ãã¢ã«ã¤ãã¦
ã·ã¹ãã å é¨ã§ã®æå»ã®ããã¨ãã«ã¯ UNIX time ã使ãã°ããã®ã§ã¯ãªãããã¨ããã¢ã¤ãã¢ãèãããã¾ãã
çè ã¨ãã¦ã¯ã以ä¸ã®ç¹ã§åé¡ããªãã®ã§ããã°ãUNIX time ã®å©ç¨ãé¸æè¢ã§ã¯ããã¨æãã¾ã:
- UNIX time ã¯å¿
ããUTC ã®ã1970å¹´1æ1æ¥åå0æ0å0ç§ ããã®çµéç§æ°ã§ãããã¨ãééããªããã¨
- ãã£ããã·ã¹ãã ã®ã¿ã¤ã ã¾ã¼ã³ã® 1970å¹´å æ¦ãåºæºã«è¨ç®ãããã¦ãã¾ãã¨ãºã¬ã¾ã
- å¦çç³»ã«ãã£ã¦ã¯æå»ã UNIX time ã¨ç°ãªãæ°å¤ã§æ±ã£ã¦ãã*5ãã¨ãããã®ã§åãéããªããã¨
- 2038 å¹´åé¡ ãªã©ã«ãªããªãååãªãããæ°ã確ä¿ãããã¨
ãã ã®æ´æ°ã§ãã UNIX time ããã ISO-8601 ã®æ¡å¼µå½¢å¼ã®æ¹ãæå³ã»è§£éã誤ãã«ããããããã¼ã¿ã®ãµã¤ãºãé大ãªåé¡ã§ãªãéã ISO-8601 ã®æ¡å¼µå½¢å¼ã®æ¹ã好ã¾ããã®ã§ã¯ãªããã¨å人çã«ã¯æãã¾ãã
ã¾ã¨ã
ããã¾ã§ã«è¿°ã¹ãå 容ãåæ´çããã¨ãçè ã¨ãã¦ã®ãã¹ããã©ã¯ãã£ã¹ã¯ä»¥ä¸ã®éãã¨ãªãã¾ã:
- ã¦ã¼ã¶ã¼ã¨ã®æ¥æ(LocalDateTime)ã®è§£éã表示å¦çã§ã¯ãå°åã®ã¿ã¤ã ã¾ã¼ã³("Asia/Tokyo" ãªã©)ã«åºãæ¥æ(ZonedDateTime)ãç¨ãã
- LocalDateTime ã®ä¾:
2018-08-09 00:56:34
- ZonedDateTime ã®ä¾:
2018-08-09 00:56:34 (Asia/Tokyo)
- LocalDateTime ã®ä¾:
- ã·ã¹ãã éã®æ¥ææ
å ±ã®ããã¨ãã DBã»ãã¡ã¤ã«ãªã©ã¸ã®æ¥æã®ä¿åã§ã¯ãUTC ããã®ãªãã»ããæ
å ±ä»ãã®æ¥æ (OffsetDateTime) ãå©ç¨ãã
- OffsetDateTime ã®ä¾:
2018-08-09T00:56:34+09:00
- DB ã®ãã¼ã¿åã®é½åãªã©ã§ UTC ããã®ãªãã»ããæ å ±ãæã¦ãªãå ´åã¯ãä¸å®ã®ãªãã»ããã«æããããã§ãªãã»ããæ å ±ãªãã§ä¿åãã
- API ãªã©ã§ã¯ä¸è¨ã®ãã㪠ISO-8601 ã®æ¡å¼µå½¢å¼ ãã§ããã ãç¨ãã
- OffsetDateTime ã®ä¾:
èªå½ã®ã¿ã¤ã ã¾ã¼ã³ã®æ¹å®(å¤æéå°å ¥ãªã©)ã®ã¿ãªãããã¯ã©ã¦ããµã¼ãã¹ã®å©ç¨ã¨ãã£ãã°ãã¼ããªã¼ã¼ã·ã§ã³ã®æµããè¸ã¾ãã¦ããã¿ã¤ã ã¾ã¼ã³ãè¸ã¾ããé©åãªæ¥æã®åæ±ãã®éè¦æ§ã¯å¢ããã¨ã¯ããã©æ¸ããã¨ã¯ãªãã¨æ³åã§ãã¾ãã
ãã®éã«ãæ¬ç¨¿ã®å 容ãä¸å©ã«ãªãã°å¹¸ãã§ãã
We're Hiring!
ãªããå½ç¤¾ã§ã¯ã¨ã³ã¸ãã¢ã絶è³åéãã¦ããã¾ãã
ãããã£ãæè¡çãªãããã¯ã«é¢å¿ãæã£ãã¨ã³ã¸ãã¢ã®å士ãã¡ã¨æãåãããªãããµã¼ãã¹ãéçºã»éç¨ãã¦ãããã¨ã«å°ãã§ããèå³ãããã¾ãããããã²ä¸ã®ãã©ã¼ã ããã¨ã³ããªã¼ãã¦ã¿ã¦ãã ããã
ãå¾ ã¡ãã¦ããã¾ãã
*1:ã¨ã¯ãã DB ã®ãã¼ã¿åã®é½åãªã©ã§ UTC ããã®ãªãã»ããæ å ±ãæã¦ãªãå ´åã¯ãä¸å®ã®ãªãã»ããã«æããããã§ãªãã»ããæ å ±ãªãã§ä¿åãããããªãã§ã
*2:æã¨ãã¦ãã®ãããªä»æ§ãããããããããã¾ããããä¸è¬ã®æ¹åãã® web ãµã¼ãã¹ã¨ãã¦ã¯æ±ºãã¦è¯ã UX ã§ã¯ãªãã§ããã
*3:è¨èªå¦çç³»ã«ã¤ãã¦ã¯ãOS ãæ㤠tz database ãåç §ãã¦ãããã¨ãããã¾ãããã ããä¾ãã° JVM ã¯å é¨ã« tz database ãæã¡ã¾ãããRails ã¢ããªã§ã tzdata-info gem ããã¼ãããã¦ãããã¨ããã£ãããã¾ã
*4:â» ãªã«ãã®å ·ä½çãªãµã¼ãã¹ã§å®éã«ãã£ãäºæ¡ã示ãã¦ããã®ã§ã¯ãªããããã¾ã§çè«çã«èããããæ³å®ä¾ã§ã
*5:ç§åä½ã® UNIX time ã¨ç°ãªãããªç§åä½ã§ãã£ãããèµ·ç¹ãè¥¿æ¦ 0 å¹´ã§ãã£ãã