01142007 0822 GMT-6

Thanks for that. It actually starts on a Monday. This is to figure out
when spring and fall break starts no matter the cal date. This works
great!

wade


On Sat, 2007-01-13 at 19:12 -0800, James Keeline wrote:
> --- Wade Smart <[EMAIL PROTECTED]> wrote:
> 
> > 01132007 202 GMT-6
> > 
> > Im trying to figure how many full weeks there are in a month and then
> > get the third full week dates? Im struggling a bit with this. 
> > 
> > wade
> 
> What day does your week start on?  Sunday?  Monday?
> 
> You can use strtotime("Third Sunday of July 2007") and strtotime("Third Sunday
> of July 2007 +7 days").  Maybe that should be 6 days.  Play with it and
> hopefully you'll get something you can use.  The function returns the number 
> of
> days since the epoch which can be used as the second argument in the date()
> function.
> 
> I'm sure there are many approaches which could be used.
> 
> James
> 
> 
> Community email addresses:
>   Post message: [email protected]
>   Subscribe:    [EMAIL PROTECTED]
>   Unsubscribe:  [EMAIL PROTECTED]
>   List owner:   [EMAIL PROTECTED]
> 
> Shortcut URL to this page:
>   http://groups.yahoo.com/group/php-list 
> Yahoo! Groups Links
> 
> 
> 
> 

Reply via email to