Re: Storing time in mysql prior to 1970
| From: | Floyd Resler | Date: | Wed, 27 Jan 2010 23:05:06 +0000 |
| Subject: | Re: Storing time in mysql prior to 1970 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301578@lists.php.net to get a copy of this message | ||
Haig,
What kind of problems are you having? I do this by using the date function to convert to the
YYYY-MM-DD format for MySQL. I've had no problems with birth dates prior to 1970.
Take care,
Floyd
On Jan 27, 2010, at 5:58 PM, Haig Davis wrote:
> Hi Everyone,
>
> I'm sure I'm missing something simple. I'm trying to store dates of birth
> prior to 1970 in mysql. I've tried mysql's date_format but am hitting a
> wall. I'm chasing my tail and was hoping for the best practice.
>
> Many Thanks
>
> Haig