Re: date format, php, mysql

From: Date: Thu, 07 Nov 2002 18:05:18 +0000
Subject: Re: date format, php, mysql
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-16786@lists.php.net to get a copy of this message
look at the function called strtotime() uk.php.net/strtotime it will convert English language date into timestamp, from which you can do date() again to reformat it -- Maxim Maletsky maxim@php.net "Adrian Partenie" <adrian.partenie@artelecom.net> wrote... : > Hello, > > How can I modify a date format from $b="Jan 7 1999, 3:51 pm" into other format? like > > > 1999 01 07 3:51 for example? I have tried with strftime, but it change format only for current > date. > > Thanks, Adrian

« previous php.windows (#16786) next »