07-28-2008, 04:31 AM
|
#2 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Location: On your Hard Drive, hiding like a Virus
Posts: 818
Thanks: 163
|
Quote:
Originally Posted by webosb
I need some advice on whether I should save unix timestamps in MySQL or should I create a datetime datatype and store it like YYYY-MM-DD HH:MM:SS
I'm trying to go with the most efficient way possible. Should I have php do the math for me or should I have the mysql query do the math for me. Can anyone shine some light on this?
Thanks
|
I always store Unix Timestamps for my dates/times. :) So I think you should too, cause it's much easier, just a long int. :P
__________________
Wax on, Wax off
|
|
|
|