Re: Re: Why does PHP consider the system's timezone unreliable, and is date_default_timezone_set() required?
| From: | Per Jessen | Date: | Tue, 18 Feb 2014 17:55:53 +0000 |
| Subject: | Re: Re: Why does PHP consider the system's timezone unreliable, and is date_default_timezone_set() required? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322928@lists.php.net to get a copy of this message | ||
Tim Streater wrote:
> On 17 Feb 2014 at 17:04, Stuart Dallas <stuart@3ft9.com> wrote:
>
>> On 17 Feb 2014, at 16:55, Tim Streater <tim@clothears.org.uk> wrote:
>
>>> People shouldn't assume that all execution of PHP takes place on a
>>> server, because it doesn’t.
>>
>> I’m not going to get in to the arguments for and against because it
>> was done to death at the time, but you must understand that your use
>> case is incredibly rare for PHP.
>
> You sure? I would have thought that as PHP is so easy to use, lots of
> people might write all their local command line scripts in it. I do -
> it would never occur to me not to.
We do too, lots of them. It's much easier to keep scripts and websites
in the same language.
--
Per Jessen, Zürich (5.7°C)
http://www.dns24.ch/ - your free DNS server, made in Switzerland.