Welcome Guest, Not a member yet? Register   Sign In
Advice on handling date preferences
#3

[eluser]CroNiX[/eluser]
I personally prefer datetime over timestamps as it's a lot easier to use mysqls powerful built-in time/date functions without converting.

http://stackoverflow.com/questions/40928...-timestamp

You can easily format the desired date output as part of the query or use strtotime() during output.

Timestamps also have an upper limitation to the year 2038, which isn't that far off.


Messages In This Thread
Advice on handling date preferences - by El Forum - 07-18-2012, 12:32 PM
Advice on handling date preferences - by El Forum - 07-18-2012, 12:50 PM
Advice on handling date preferences - by El Forum - 07-18-2012, 01:10 PM
Advice on handling date preferences - by El Forum - 07-18-2012, 01:20 PM
Advice on handling date preferences - by El Forum - 07-24-2012, 03:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB