You are here: Re: Second Saturday? « All PHP « IT news, forums, messages
Re: Second Saturday?

Posted by -Lost on 07/02/06 20:31

"kenrbnsn" <kenrbnsn@gmail.com> wrote in message
news:1151816630.872688.71210@75g2000cwc.googlegroups.com...

<?php
> $today = time();
> $sec_sat = (strtotime('2nd saturday this month') >
> $today)?strtotime('2nd saturday this month'):strtotime('2nd saturday
> next month');
> echo date('l, F j, Y',$sec_sat);
> ?>

What are you testing on? My setup gives me July 15th with that code.

-Lost

 

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

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