note 108513 added to function.date

From: Date: Thu, 03 May 2012 00:32:44 +0000
Subject: note 108513 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-187449@lists.php.net to get a copy of this message
<?php /* the following variables are set to appropriate characters recognized by php version 5 that will get the date. To display the date, we have to use 'echo' or 'print' to send the variable data to the browser */ $day=date("l"); $date=date("j"); $suffix=date("S"); $month=date("F"); $year=date("Y"); echo $day . ", " . $month . " " . $date . $suffix . ", " . $year; ?> rudimentary, simple way to due things, but it gets the job done for someone learning more on the subject. ---- Server IP: 69.147.83.197 Probable Submitter: 71.49.120.246 ---- Manual Page -- http://www.php.net/manual/en/function.date.php Edit -- https://master.php.net/note/edit/108513 Del: integrated -- https://master.php.net/note/delete/108513/integrated Del: useless -- https://master.php.net/note/delete/108513/useless Del: bad code -- https://master.php.net/note/delete/108513/bad+code Del: spam -- https://master.php.net/note/delete/108513/spam Del: non-english -- https://master.php.net/note/delete/108513/non-english Del: in docs -- https://master.php.net/note/delete/108513/in+docs Del: other reasons-- https://master.php.net/note/delete/108513 Reject -- https://master.php.net/note/reject/108513 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#187449) next »