note 100612 deleted from function.date-default-timezone-set by danbrown
| From: | danbrown@php.net | Date: | Tue, 26 Oct 2010 21:28:42 +0000 |
| Subject: | note 100612 deleted from function.date-default-timezone-set by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173481@lists.php.net to get a copy of this message | ||
Note Submitter: compu-fix at hotmail dot com
----
Thank you so much TOM S
This worked for me.
$today=@date("dd-mm-yyyy");
==============================================
This is a good script if you know or control your system so that you know that the local TZ in your
OS is correct. Unfortunately, this script still creates an warning message under BSD UNIX.
To fix this, just add an "@" in front of "localtime" as:
$arr = @localtime($iTime);