Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56958 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10886 invoked from network); 20 Dec 2011 10:03:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Dec 2011 10:03:50 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:64186] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/D3-16374-38D50FE4 for ; Tue, 20 Dec 2011 05:03:48 -0500 Received: by yhmm16 with SMTP id m16so4803231yhm.29 for ; Tue, 20 Dec 2011 02:03:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pliiqRH1gy8B/f3SYEXZNU3huHpxx2HxekePEuQemoU=; b=qSn/SvkpO3s43aMJkVgQek5JLXuFnWTZXWRU8XdfBbclFDNkHqdaOBTvBzPcB4dIJi Hpu/QG5cc3i4BiOEWa/cYLpMQrx1Aytl9q7BbWXD9ZPR+Y8kFSpqCuE1o3Ftr5NuBQiP PM1aZ54ITu5OFyvlr9HJUqWx4JEwOoIYnVeYM= MIME-Version: 1.0 Received: by 10.236.153.42 with SMTP id e30mr2368993yhk.10.1324375425206; Tue, 20 Dec 2011 02:03:45 -0800 (PST) Received: by 10.146.204.6 with HTTP; Tue, 20 Dec 2011 02:03:45 -0800 (PST) In-Reply-To: <4EEFD86D.8090905@gmail.com> References: <8D58A664-7250-4FEE-9424-2D2DEFC69308@inbox.lv> <1C397FE3-76E2-473B-B47F-194DAF3ACB39@inbox.lv> <4EE91556.3040909@sugarcrm.com> <4EE91FDE.1060005@sugarcrm.com> <4EEFD86D.8090905@gmail.com> Date: Tue, 20 Dec 2011 11:03:45 +0100 Message-ID: To: David Muir Cc: Stas Malyshev , Will Fitch , Oleg Oshmyan , Derick Rethans , PHP Developers Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Local time zone From: pierre.php@gmail.com (Pierre Joye) On Tue, Dec 20, 2011 at 1:35 AM, David Muir wrote: > Isn't this whole thread about client-side apps, not server-side. For > client-side stuff it doesn't make sense to use anything but the system > tz. No, that's the job of the PHP application to take care of that. And that's also why system TZ is not very relevant, per se. And it is done using the datetime function, see: http://www.php.net/manual/en/function.date-default-timezone-set.php http://www.php.net/manual/en/datetime.settimezone.php Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org