note 65110 rejected from function.date by bjori
| From: | bjori@php.net | Date: | Mon, 24 Apr 2006 18:31:56 +0000 |
| Subject: | note 65110 rejected from function.date by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-109586@lists.php.net to get a copy of this message | ||
Note Submitter: jorslb at hotmail dot com
----
I have this code and output 1970..... why?
<?php
$aa="2001-02-03";
echo date('Y', $aa);
?>
I want 2001 in the output. How can I make it?