php function to determine how much of the total time was at night
<p>I have two variables, a start hour and an end hour.</p>

<p>I need to determine which part of that is between 06:00 and 19:00 (morning time)
or how long the time between them is at night (19:00 to 06:00)?</p>
