Re: Formating datevariables...
| From: | David Robley | Date: | Tue, 23 Jul 2002 00:21:59 +0000 |
| Subject: | Re: Formating datevariables... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108991@lists.php.net to get a copy of this message | ||
In article <20020722234455.41274.qmail@pb1.pair.com>, ragnar@chello.no
says...
> I have a column in a mysql table with a timestamp. The value of this column
> is for instance:
>
> 20020722185242
>
> How do i change the format on this to "DDMMYYYY" (22072002) in php?
>
> Thanx
>
> -R
You can do it as you get it out of the db - see DATEFORMAT
Cheers
--
David Robley
Temporary Kiwi!
Quod subigo farinam