Re: converting DATETIME to a readable date.

From: Date: Sun, 15 Apr 2001 02:16:45 +0000
Subject: Re: converting DATETIME to a readable date.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-48612@lists.php.net to get a copy of this message
Brian Clark <brianj@fusionwerks.com> wrote in message news:146164854926.20010414204654@fusionwerks.com... | Hi DRN, | Try this and see if it functions correctly: | | <?php | | $date = str_replace('-','/',$row["date"]); | $new_date = date("l, j M Y, G:i:s", strtotime($date)); | | ?> | That works great, thanks Donald

« previous php.general (#48612) next »