Reply to Re: This Monday problem

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация