Re: Format Date
| From: | Erwin | Date: | Thu, 07 Nov 2002 13:38:19 +0000 |
| Subject: | Re: Format Date | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123149@lists.php.net to get a copy of this message | ||
Dark Rotter wrote:
> Hi,
>
>
> When i print a date, the format of this date is: 8 nov
> 2001 0:00
> (print ($array["date"]))
>
> but i need print this: 08/11/2001
>
> how i print this ?
try
print date( 'd/m/Y', strtotime( $array['date'] ) );
HTH
Erwin