Thread: Third Sunday
View Single Post
  #1  
Old 08-28-2006, 02:02 PM
diggal diggal is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
diggal is on a distinguished road
Default Third Sunday

I need to have a page check if it is the third Sunday of a month and print the date of the next meeting which is the third Sunday. If the date is past the third Sunday, it need to print the date for the following month.

This is what I have so far:


PHP Code:
<?php
print ("<span style=\"color:#006699;\">");
echo "Sunday, " . date("F j, Y",strtotime("Third Sunday"));
print ("</span>");
?>


This works fine for the current month, but does not update itself for the following month. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - Third Sunday
Thread: Third Sunday
View Single Post
  #1  
Old 08-28-2006, 02:02 PM
diggal diggal is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
diggal is on a distinguished road
Default Third Sunday

I need to have a page check if it is the third Sunday of a month and print the date of the next meeting which is the third Sunday. If the date is past the third Sunday, it need to print the date for the following month.

This is what I have so far:


PHP Code:
<?php
print ("<span style=\"color:#006699;\">");
echo "Sunday, " . date("F j, Y",strtotime("Third Sunday"));
print ("</span>");
?>


This works fine for the current month, but does not update itself for the following month. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote