Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $theday = date('z');
- if($theday >= "90" && $theday <= "243") {
- $season = "Heute geöffnet: 9 bis 17 Uhr.";
- } elseif($theday >= "244" && $theday <= "365") {
- $season = "Heute geöffnet: 13 bis 17 Uhr.";
- } elseif ($theday >= "1" && $theday <= "89") { $season = "Heute geöffnet: 13 bis 17 Uhr."; }
- echo $season;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement