|
Posted by Geoff Berrow on 03/22/07 13:46
Message-ID: <bg1503p2n63lufgnaf9cpu9mr6pko0q1ob@4ax.com> from Adam
contained the following:
>
>I need to be able to return the corresponding dates for Mondays - and
>have tried various functions, scripts with varying degrees of success.
>date('d-M-Y', strtotime('this monday'));
>
>... works, as does:
>
>date('d-M-Y', strtotime('last monday'));
>
>However, whilst this function works well most of the time, for some
>reason it pukes on Monday 19th March - and always returns 18th Mar
>(which is a Sunday!).
Spring forward, fall back?
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|