Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42118 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60646 invoked from network); 5 Dec 2008 19:08:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Dec 2008 19:08:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.26.185 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.26.185 c2beaomr07.btconnect.com Received: from [213.123.26.185] ([213.123.26.185:10319] helo=c2beaomr07.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CA/C2-20960-F3C79394 for ; Fri, 05 Dec 2008 14:08:48 -0500 Received: from [10.0.0.150] (host81-138-11-136.in-addr.btopenworld.com [81.138.11.136]) by c2beaomr07.btconnect.com (MOS 3.8.6-GA) with ESMTP id BKB76976; Fri, 5 Dec 2008 19:08:45 GMT Message-ID: <49397B0F.2070507@lsces.co.uk> Date: Fri, 05 Dec 2008 19:03:43 +0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.1.18) Gecko/20081112 SeaMonkey/1.1.13 MIME-Version: 1.0 To: PHP internals References: <4938C8FB.6010509@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Status: score=10/50, host=c2beaomr07.btconnect.com X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A0B0203.49397C3D.0120,ss=1,fgs=0, ip=10.0.0.150, so=2007-10-30 19:00:17, dmn=5.7.1/2008-09-02 X-Junkmail-IWF: false Subject: Re: [PHP-DEV] Upgrading to internal DateTime From: lester@lsces.co.uk (Lester Caine) Derick Rethans wrote: > On Fri, 5 Dec 2008, Lester Caine wrote: > >> First question. >> Why are there two different formats for dates with date creation using one >> format and everything else using strftime formatting? > > Don't understand what you mean by this. http://uk.php.net/manual/en/function.strftime.php uses %* formatting while the newer 'format' uses single characters http://uk.php.net/manual/en/function.date.php I'm just used to strftime style and all of the ADOdb formatting is based on that ... I never realised there was two formats, so re-engineering to use format is not really practical. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/lsces/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php