If I were you, I'll save those data's as DateTime
. The reasons are
- the records are readable with our own eye. eg
2013-01-04 00:25:12
is better than1357259112
. - you don't have to use any conversion function like
FROM_UNIXTIME
to which i think kills the index. So it is much better to usedate
ordatetime
because you can utilize index since you can search the value directly by using=
orBETWEEN