Welcome Guest, Not a member yet? Register   Sign In
Best format to save date?
#14

[eluser]Thorpe Obazee[/eluser]
[quote author="Jondolar" date="1241665482"]If you decide to change your back-end database, INT may be the best way to store in the database (storing as a timestamp) and then doing all of your calculations and formatting in PHP. This way, you are not tied to MySQL.[/quote]

DATETIME format can be using strtotime and MySQL will be out of your hair. That doesn't give you much more work since you'll probably be using the date() function in PHP to get the date/time.


Messages In This Thread
Best format to save date? - by El Forum - 05-04-2009, 05:18 AM
Best format to save date? - by El Forum - 05-04-2009, 05:35 AM
Best format to save date? - by El Forum - 05-04-2009, 05:38 AM
Best format to save date? - by El Forum - 05-04-2009, 05:58 AM
Best format to save date? - by El Forum - 05-04-2009, 12:07 PM
Best format to save date? - by El Forum - 05-04-2009, 12:57 PM
Best format to save date? - by El Forum - 05-04-2009, 06:57 PM
Best format to save date? - by El Forum - 05-04-2009, 11:28 PM
Best format to save date? - by El Forum - 05-04-2009, 11:31 PM
Best format to save date? - by El Forum - 05-05-2009, 02:37 AM
Best format to save date? - by El Forum - 05-05-2009, 02:46 AM
Best format to save date? - by El Forum - 05-05-2009, 03:13 AM
Best format to save date? - by El Forum - 05-06-2009, 04:04 PM
Best format to save date? - by El Forum - 05-06-2009, 04:37 PM
Best format to save date? - by El Forum - 05-06-2009, 06:07 PM
Best format to save date? - by El Forum - 05-06-2009, 06:17 PM
Best format to save date? - by El Forum - 05-06-2009, 06:21 PM
Best format to save date? - by El Forum - 05-06-2009, 06:30 PM
Best format to save date? - by El Forum - 05-06-2009, 07:55 PM
Best format to save date? - by El Forum - 05-22-2009, 10:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB