Re: MySql, PHP, and Dates

From: Date: Sun, 30 Mar 2003 23:32:14 +0000
Subject: Re: MySql, PHP, and Dates
References: 1 2 3 4  Groups: php.db 
Request: Send a blank email to php-db+get-26732@lists.php.net to get a copy of this message
Jason Wong wrote:
On Sunday 30 March 2003 11:11, Bruce Feist wrote:
I wonder why the PHP/MySql interface doesn't simply return dates as dates instead of strings. *frowns*
How do you mean? PHP doesn't have a date type. Ummm.... That's a good reason! As I said, I'm a newbie to PHP, and somewhere along the line I got the idea that there was an actual date data type. I don't know where I got that idea; the book I've been using certainly doesn't say that it does, although I thought I did.
It's times like this that I wish that I had smaller feet or a larger mouth, to make it easier to remove the one from the other! Thanks. Bruce Feist

« previous php.db (#26732) next »