function CreateDate i made doesnt work?

From: Date: Tue, 06 Apr 2004 15:26:02 +0000
Subject: function CreateDate i made doesnt work?
Groups: php.general 
Request: Send a blank email to php-general+get-182487@lists.php.net to get a copy of this message
> > Replace the above two lines with > > $time = date('YmdHis', mktime(0,0,0,$month,$day,$year); > ok the function works now because when i echo the output of $_SESSION['add']['start_date'] it shows the right 14 digit timestamp for the date i wanted to create... now the problem is getting it to echo on a page in a normal "standard user readable format"... i have the following line i used to attempt that with but still..no matter what i put in the form for a date it returns monday january 15 2038..or in one instance of playing with it even ended up with december 31 1969... even though i put in the date i wanted ... say "first saturday" 9 (september) 2004 here is the line i used: something must be wrong with it.... Start Date: <?echo date("l F j Y", $_SESSION['add']['start_date']);?>

« previous php.general (#182487) next »