10/17/2025
<pre class="language-php"><code><?php
// initalize to today first
$xdate = strtotime("Today");
for ($index=0; $index <10; $index++){
$xdate = strtotime("Next Thursday", $xdate);
echo "The next Thursday Night Ride is ". ($index%2==0 ? 'Foo':'Bar') ." is: <strong>" . date("l-jS-F",$xdate) . . date("l-jS-F",$xdate) .;
}</code></pre>