RE: [PHP] Problems with date() - SOLVED

2006-09-13 Thread Arno Kuhl
@lists.php.net Subject: Re: [PHP] Problems with date() Hi, Try it with 28 December instead of 31 December. >From http://en.wikipedia.org/wiki/ISO_week_date The last week of the ISO year is the week before week 01; in accordance with the symmetry of the definition, equivalent definitions

Re: [PHP] Problems with date()

2006-09-13 Thread Ducarom
Hi, Try it with 28 December instead of 31 December. From http://en.wikipedia.org/wiki/ISO_week_date The last week of the ISO year is the week before week 01; in accordance with the symmetry of the definition, equivalent definitions are: - the week with the year's last Thursday in it - th

Re: [PHP] Problems with date()

2006-09-13 Thread Frank Arensmeier
And what exactly did you expect? Have you checked a calendar? The 31st of december 2001, 2002 and 2003 are Monday, Tuesday and Wednesday respectively. In other words. those days are more or less in the middle of the week 01. So, I would say that your results are absolutely right. /frank 1

Re: [PHP] Problems with date and mktime

2002-02-12 Thread Bogdan Stancescu
Maybe posting some code would help... Bogdan peke wrote: >I've ported an app from linux to windows 2000 and now i'm having problems with >functions date and mktime...does anybody knows the reason?. It says unexpected error >and I don“t know what it can be >Thanks in advance > -- PH

RE: [PHP] Problems with date() - what have I missed?

2001-02-13 Thread Jon Haworth
Don't worry. False alarm. My bad. (etc) Hint for people experiencing a problem like this in the future: when passing variables to mktime(), ensure $cmonth=3 and not $cmonth="March", I find it helps a *lot* :-) Moral to the story: when having difficulties, echo your variables to the screen C