Re: DATETIME or UNIX TIMESTAMPS?
| From: | Jo�o C�ndido de Souza Neto | Date: | Thu, 26 Oct 2006 20:40:07 +0000 |
| Subject: | Re: DATETIME or UNIX TIMESTAMPS? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243706@lists.php.net to get a copy of this message | ||
I use always unix timestamp as well, except in birth date.
""Marcelo de Moraes Serpa"" <celoserpa@gmail.com> escreveu na mensagem
news:1e5bcefd0610261336t70495afcx3cc29aac20c57eeb@mail.gmail.com...
> Hello list,
>
> I've always used Unix Timestamps until now, but lately I've reading about
> MySQL's datetime datatype and its benefits (dates before 1970, after 2030,
> SQL functions to deal with them, etc). However, I don't see much support
> for
> them in the PHP API. I'm also a Flash programmer and the Flash 8 API Date
> datatype also only understands unix timestamps. Taking this into account,
> I'm not really sure if it really worths it to "move" to the DATETIME
> datatype. What would you do? Any advice would be much appreciated!
>
> Marcelo.
>