Welcome Guest, Not a member yet? Register   Sign In
How to add 7 days to mysql date?
#5

[eluser]AgentPhoenix[/eluser]
Interesting. I didn't know MySQL had those. Do other database types (Oracle, MS SQL, SQLite, PostgreSQL) have those as well?

Personally, I've started doing everything with UNIX timestamps lately. It makes it pretty easy to store and display times, plus, when you want to add say 7 days, you can just do the math (number*86400) to find out the UNIX timestamp in the future.


Messages In This Thread
How to add 7 days to mysql date? - by El Forum - 06-25-2008, 11:05 PM
How to add 7 days to mysql date? - by El Forum - 06-25-2008, 11:24 PM
How to add 7 days to mysql date? - by El Forum - 06-25-2008, 11:47 PM
How to add 7 days to mysql date? - by El Forum - 06-25-2008, 11:53 PM
How to add 7 days to mysql date? - by El Forum - 06-26-2008, 05:41 AM
How to add 7 days to mysql date? - by El Forum - 06-26-2008, 06:06 AM
How to add 7 days to mysql date? - by El Forum - 06-26-2008, 09:12 AM
How to add 7 days to mysql date? - by El Forum - 06-27-2008, 12:42 AM
How to add 7 days to mysql date? - by El Forum - 08-21-2008, 08:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB