[MySQL]UnixTimeをDateTime型に変換する方法
結果
select from_unixtime(starttime) from mytable;
+------------------------------+
| from_unixtime(starttime) |
+------------------------------+
| 2007-08-13 23:32:06 |
| 2007-08-14 02:07:07 |
| 2007-08-14 22:58:07 |
| 2011-07-24 02:44:41 |
| 2011-07-24 03:07:19 |
+------------------------------+
Enjoy!
カテゴリ:
MySQL