Re: Changing MySQL Date Format
| From: | David Robley | Date: | Thu, 12 Aug 2004 12:46:55 +0000 |
| Subject: | Re: Changing MySQL Date Format | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193551@lists.php.net to get a copy of this message | ||
On Thu, 12 Aug 2004 20:06, Harlequin wrote:
> I'm using a hell of a lot of dates in my databases and wondered if it was
> possible to change the date format in my databases from 0000-00-00 to:
> 00-00-0000...?
>
> Has anyone else managed to do this or use any workarounds I could use
> perhaps...?
>
> I'm just getting a little hacked of having to explode the damn things
> every time I use them.
>
Why do you care how mysql stores the dates when you have DATE_FORMAT and all
the other you-beaut date functions to massage the data to your needs?
--
David Robley
I parked my hard disk and now I can't find it!