Re: convert a strtotime date into a text representation of the date

From: Date: Thu, 04 Mar 2004 04:52:05 +0000
Subject: Re: convert a strtotime date into a text representation of the date
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-179418@lists.php.net to get a copy of this message
You'd want something more like this for the format: echo date("l F j Y", $time); but for me, this caused the following output Saturday June 27 2009 doesn't seem right somehow :/ i know i wonder if i have the strtotime("third saturday january 2005"); written all wrong or something..... makes me think i have the wording wrong because if i do this: <?php $time=strotime("now"); echo date("M d Y", $time); ?> now i get Mar wed 03 2004 and that is the right date for my computer grin... so i wonder if my wording is wrong...

« previous php.general (#179418) next »