Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56964 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23865 invoked from network); 20 Dec 2011 11:31:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Dec 2011 11:31:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:43491] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/46-16374-32270FE4 for ; Tue, 20 Dec 2011 06:31:48 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 5744EDE13E; Tue, 20 Dec 2011 11:31:45 +0000 (GMT) Date: Tue, 20 Dec 2011 11:31:45 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Lester Caine cc: PHP Developers Mailing List In-Reply-To: <4EE9A45F.4040305@lsces.co.uk> Message-ID: References: <8D58A664-7250-4FEE-9424-2D2DEFC69308@inbox.lv> <1C397FE3-76E2-473B-B47F-194DAF3ACB39@inbox.lv> <4EE91556.3040909@sugarcrm.com> <85F1CEA6-F5B8-4610-B851-CDDB50E0EB4D@inbox.lv> <4EE9A45F.4040305@lsces.co.uk> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Local time zone From: derick@php.net (Derick Rethans) On Thu, 15 Dec 2011, Lester Caine wrote: > Oleg Oshmyan wrote: > > It is worth mentioning that VC9 has 64-bit and 32-bit versions of time_t, > > localtime and mktime while VC6 only has a 32-bit version. Unfortunately, > > none of these versions work with times before 1970. > > Actually that is probably another discussion, but is the php date function > still limited to 13 Dec 1901? No. Internally, it uses 64 bit integers. As long as you use the object oriented approach it will work. If you go back to timestamps, you have to rely on twhat the OS supports as integer size (which is sadly 32 bit on Windows). Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug