[Pedantry mode]
In the explanation that went with Jano's code, surely 0.25 should be 06:00am and 0.75 should be 18:00pm instead of 4am and 4pm respectively
[/Pedantry mode]
Not that I care. Good solutions to a problem I see quite often. Useful script.
Semper in excretia, suus solum profundum variat