Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Date: Sun, 15 Jun 2014 23:32:10 +0200 From: Luuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 Newsgroups: comp.lang.php Subject: Re: How to loop through the dates? References: <150620142030411732%timstreater@greenbee.net> <1la17b-rhh.ln1@luuk.invalid.lan> <150620142134190774%timstreater@greenbee.net> In-Reply-To: <150620142134190774%timstreater@greenbee.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 31 NNTP-Posting-Host: 2001:980:9089:1:6c7b:5d73:47a8:ba0b X-Trace: 1402868401 news.xs4all.nl 2917 [2001:980:9089:1:6c7b:5d73:47a8:ba0b]:38538 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.php:13871 On 15-6-2014 22:34, Tim Streater wrote: > In article <1la17b-rhh.ln1@luuk.invalid.lan>, Luuk > wrote: > >> On 15-6-2014 21:30, Tim Streater wrote: >> > Then for output, >> > >> > echo date ('M jS, Y', $value); >> > >> > will output the date in a suitable format. >> >> only if you live in a country where they put the month first...... >> >> here, where i live, the do day-month-year (15-06-2014) > > So do I. But richard appears to assume that his website is only to be > seen by Yanks. The string I put above for date is acceptable to me, > however, in as much as it leads to an unambiguous date such as: > > Jun 8th, 2014 > > unlike: > > 06-08-2014 > > which certainly *is* ambiguous. > it is not as ambiguous as you want it to be, if the list is long enough ..... ( more than 12 days should do )