Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32388 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52565 invoked by uid 1010); 19 Sep 2007 17:58:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52550 invoked from network); 19 Sep 2007 17:58:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Sep 2007 17:58:10 -0000 Authentication-Results: pb1.pair.com header.from=webmaster@keryx.se; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=webmaster@keryx.se; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain keryx.se designates 208.69.121.33 as permitted sender) X-PHP-List-Original-Sender: webmaster@keryx.se X-Host-Fingerprint: 208.69.121.33 supavet.nexcess.net Received: from [208.69.121.33] ([208.69.121.33:49189] helo=supavet.nexcess.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DA/F1-32723-13361F64 for ; Wed, 19 Sep 2007 13:58:09 -0400 Received: (qmail 23686 invoked by uid 108); 19 Sep 2007 17:58:06 -0000 Received: from unknown (HELO ?127.0.0.1?) (gunther@keryx.se@87.227.57.139) by supavet.nexcess.net with ESMTPA; 19 Sep 2007 17:58:06 -0000 Message-ID: <46F16331.8070207@keryx.se> Date: Wed, 19 Sep 2007 19:58:09 +0200 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: PHP Developers Mailing List References: <46F1300A.6060903@keryx.se> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000775-2, 2007-09-18), Outbound message X-Antivirus-Status: Clean Subject: Re: [PHP-DEV] date_format_locale From: webmaster@keryx.se (Keryx Web) Derick Rethans skrev: > On Wed, 19 Sep 2007, Keryx Web wrote: >> 3. Will it accept formatting according to date() or strftime() syntax? > > date(), but with some additions of course. How, I still need to work > out. > Is that set in stone? Most non-english application developers are probably more familiar with the strftime syntax, as we tend to use that function 90 % of the time. Personally I also find that syntax more appealing: echo date('\T\o\d\a\y \i\t \i\s l \a\n\d \t\h\e \c\l\o\c\k \i\s H:i'); echo strftime('Today it is %a and the clock is %H:%M'); Lars Gunther Who, btw, prefers date-syntax to not having this function at all...