title: Determine if its night time
body: <p>Our restaurant is open til 3:00 am on friday and monday. I have build a website/webshop for odering. After a user typs a zipcode it gets the day for ex monday. then it gets the opening and closing times for monday. if the store is open you can order.</p>
  
  <p>The problem is that if you typ your zipcode after 0:00 on a friday the shop will show closed because the "system" thinks its saturday so it grabs the closing time for saturday. i use $day = date("l"); to get the day.</p>
  
  <p>No this is al logical because after 0:00 on a friday is saturday.. but i need some workaround to let the system know that if i type a zipcode on friday after 0:00 (so on saturday) the system gets the friday closing times from the database and not the saturday ones.</p>
  
  <p>What is the best way to approach this ?</p>