Re: date format, php, mysql

From: Date: Thu, 07 Nov 2002 19:02:18 +0000
Subject: Re: date format, php, mysql
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16792@lists.php.net to get a copy of this message
or if you want to us 12hour clock try this: $todaydatetime = date("Y m d g:i"); That will translate into: 2002 11 07 6:12 [snip] It is ok, but is there some way i do $mydate=format_date($date,Y m d :i") - is there some function that could do it, where $date is some date, not neccessarily today. Radovan

« previous php.windows (#16792) next »