Jump to content

TRemmie

Members
  • Posts

    28
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

TRemmie's Achievements

Member

Member (2/5)

0

Reputation

  1. Think thats it Thank you so much for the help all.
  2. Thanks for the help, unfortunatly, its still echoing back 7 days.
  3. This is echoing back "There are 7 days left until next tuesday" but we are looking for "24 days remaining till the next first tuesday". $thistues=strtotime("first tuesday"); $today=strtotime(date("Y-m-d")); $nexttues=($today<$thistues)?$thistues:date("Y-m-d", strtotime("first tuesday", strtotime("+ 1 Month", strtotime(date("Y-m")))));; $seconds=($nexttues-$today); $minutes=($seconds/60); $hours=($minutes/60); $days=($hours/24); echo "There are ".$days." days left until next tuesday";
  4. I need help coding a PHP countdown script that will echo days remaining till the next upcoming first tuesday of the next month. I can find scripts that will display the next upcoming tuesday in the week but not the first of the month.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.