Re: date(), strtotime(), Wed, Dec 31, 1969 ??

From: Date: Fri, 03 May 2002 16:08:14 +0000
Subject: Re: date(), strtotime(), Wed, Dec 31, 1969 ??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95914@lists.php.net to get a copy of this message
On 3 May 2002 at 12:04, ROBERT MCPEAK wrote: > $blah=2002-05-02; > $thedate = date("D, M d, Y", strtotime($blah)); > $echo "$thedate"; $blah will = 1995. Try putting quotes around the date... $blah = "2002-05-02"; -- Stuart

« previous php.general (#95914) next »