php - Is it a good idea to use time instead of string CURRENT_DATE in MySQL? -


I have decided to use time instead of a string date in MySQL, but I want to know whether it is a good The idea is. For example, I use it:

  1268557200   

instead:

  Sun, 14 March 2010 09 : 00: 00 GMT   

Thank you.

Of course this is a special type. The database has been optimized for such types. Like your string contains too many characters that date types are internally short or long, which only take 4 or 8 bytes.

Comments