Storing time in a database is almost always a case

Storing time in a database is almost always a case in which you would want to just store the timestamp using time(). You can then use it to order the results when searching, etc., and format however you want later, rather than being stuck with a preformatted date. Storing time in a database is almost always a case in which you would want to just store the timestamp using time(). You can then use it to order the results when searching, etc., and format however you want later, rather than being stuck with a preformatted date. Storing time in a database is almost always a case in which you would want to just store the timestamp using time(). You can then use it to order the results when searching, etc., and format however you want later, rather than being stuck with a preformatted date. Storing time in a database is almost always a case in which you would want to just store the timestamp using time(). You can then use it to order the results when searching, etc., and format however you want later, rather than being stuck with a preformatted date.