Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64260 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20603 invoked from network); 11 Dec 2012 17:11:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Dec 2012 17:11:53 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.170 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 209.85.210.170 mail-ia0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:57525] helo=mail-ia0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4D/3B-54245-85967C05 for ; Tue, 11 Dec 2012 12:11:53 -0500 Received: by mail-ia0-f170.google.com with SMTP id i1so7543689iaa.29 for ; Tue, 11 Dec 2012 09:11:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=q4FpGWGBXb8WtghLjQkF40WVpW7NIi+WYh0P3kfQ0nk=; b=d30NgkYR32nzEZisQtxTnvM3+aBO5mNsOaMN47qNACYVuPqa2iVm8JBN4uUV366W66 bMialrqrnB91r12YrdPqrtL7IsscP+nqyY+WEfxGQ5WuW2okdfqs2cnJTs4xpcnUUaGS Bigsdcky7BSZmMOiqQQdqDvvOIAir2O5tlRnfJN03nSnt1Y0LTG9ynhRblyxHX6cjJTz mSY90nzzdulBdCyXxkb68nLMoEdfloQdTncx7kRL20N09FUsRysPr2UjtBSqY/MvTaye jgB2bUz8MqmNdp1cq6NtsLwtq7gUgKZ9Fhsz+uYuCy5SCcJWher+g12ayMb1Oi19h9BZ 5THw== Received: by 10.42.32.200 with SMTP id f8mr1960779icd.18.1355245909380; Tue, 11 Dec 2012 09:11:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.136.81 with HTTP; Tue, 11 Dec 2012 09:11:28 -0800 (PST) In-Reply-To: <50C767FD.8070901@sugarcrm.com> References: <50C69191.5020201@sugarcrm.com> <50C767FD.8070901@sugarcrm.com> Date: Tue, 11 Dec 2012 18:11:28 +0100 Message-ID: To: Stas Malyshev Cc: Nikita Nefedov , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=bcaec5186646030d0904d096c762 Subject: Re: [PHP-DEV] DateTime improvement From: ocramius@gmail.com (Marco Pivetta) --bcaec5186646030d0904d096c762 Content-Type: text/plain; charset=UTF-8 @Stas a DateTime object is the perfect representation of what in DB world has dozens of different representations. The reasoning behind it is exactly the same as having a DateTime object vs having a date+time string. Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --bcaec5186646030d0904d096c762--