';
echo '| '.date('l', $gmt_now). ' is ' . ($today_is_cutoff_day ? '' : 'not ') . 'Monday (cutoff day) |
' . "\n";
echo '| time() is | ' . $gmt_now . ' | ' . date('D M j Y, G:i:s', $gmt_now) . ' |
' . "\n";
// echo '| local_now is | ' . $local_now . ' | ' . date('D M j Y, G:i:s', $local_now) . ' |
' . "\n";
echo '| the *base* cutoff day was/is | ' . $base_cutoff_timestamp . ' | ' . date('D M j Y, G:i:s', $base_cutoff_timestamp) .' |
' . "\n";
//echo '| the *adjusted* cutoff day was/is | ' . $adjusted_cutoff_timestamp . ' | ' . date('D M j Y, G:i:s', $adjusted_cutoff_timestamp) . ' |
' . "\n";
echo '| the *actual* cutoff date is | ' . $cutoff_timestamp . ' | ' . date('D M j Y, G:i:s', $cutoff_timestamp) . ' |
' . "\n";
echo '| the *signup* date is | ' . $signup_timestamp . ' | ' . date('D M j Y, G:i:s', $signup_timestamp) . ' |
' . "\n";
echo '
';
// */
// positive if the signup is sooner than the cutoff; 0 if equal, negative if it's later.
return ( ($cutoff_timestamp - $signup_timestamp) > 0 );
}
$br = '