Re: PHP, MySQL and datetime
| From: | John | Date: | Thu, 04 Dec 2003 18:51:04 +0000 |
| Subject: | Re: PHP, MySQL and datetime | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171875@lists.php.net to get a copy of this message | ||
Guess it matters on which one you want to do the date handling...php or
MySQL.
If it's PHP, I like epoch time, makes manipulating time and dates very
simple (basic math). MySQL has its own timestamp format (the guy above me
mentions it).
Whichever you feel more comfortable with.
John
"Jough Jeaux" <phpjough@yahoo.com> wrote in message
news:20031204183913.34191.qmail@web11907.mail.yahoo.com...
> Greetings all, I'm working on a message-board-type application that will
use time stamps to sort part of the messages. I was wondering what
everyone's favorite way to transfer dates between PHP and MySQL was?
>
> --Jough
>
>
> ---------------------------------
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now