You are here: Re: Calculating week range from specific date - Any functions? « PHP Programming Language « IT news, forums, messages
Re: Calculating week range from specific date - Any functions?

Posted by Jerry Stuckle on 05/10/05 15:21

Ewoud Dronkert wrote:
> On Tue, 10 May 2005 16:09:46 +0800, Adam Harvey wrote:
>
>>$monday = strtotime('last monday', $ts);
>
>
> Except that for Mondays, it returns the previous Monday.
>
>
Just move ahead a day...

$monday = strtotime('last monday', $ts+24*60*60);


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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