Hi,
I'm trying to calculate the 2nd Sun in Nov of the current year, using php 4.3

echo date('w', mktime(0,0,0,11,1));
would give me (0 - 6 Sun to Sat) Nov 1st of current year
Not sure whether I'm on the right track, starting this way?

Tried strtotime(); but maybe I was doing something wrong.
Speed is not too important, as it's only called one.
Any advice on how to tackle this?

Thanks, Bob.




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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-list/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to