Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $y = date('Y'); // Get Current Year
- if ($y = 2018) {$thurs = 'October 18, '.$y; $fri = 'October 19, '.$y; $sat = 'October 20, '.$y; $sun = 'October 21, '.$y;}
- if ($y = 2019) {$thurs = 'October 17, '.$y; $fri = 'October 18, '.$y; $sat = 'October 19, '.$y; $sun = 'October 20, '.$y;}
- if ($y = 2020) {$thurs = 'October 15, '.$y; $fri = 'October 16, '.$y; $sat = 'October 17, '.$y; $sun = 'October 18, '.$y;}
- if ($y = 2021) {$thurs = 'October 14, '.$y; $fri = 'October 15, '.$y; $sat = 'October 16, '.$y; $sun = 'October 17, '.$y;}
- if ($y = 2022) {$thurs = 'October 13, '.$y; $fri = 'October 14, '.$y; $sat = 'October 15, '.$y; $sun = 'October 16, '.$y;}
- ?>
Add Comment
Please, Sign In to add comment