1--TEST-- 2Checking whisky time 3--FILE-- 4<?php 5 date_default_timezone_set('UTC'); 6 var_dump(date('H:i:s', strtotime('back of 7'))); 7 var_dump(date('H:i:s', strtotime('front of 7'))); 8 var_dump(date('H:i:s', strtotime('back of 19'))); 9 var_dump(date('H:i:s', strtotime('front of 19'))); 10?> 11--EXPECTF-- 12%string|unicode%(8) "07:15:00" 13%string|unicode%(8) "06:45:00" 14%string|unicode%(8) "19:15:00" 15%string|unicode%(8) "18:45:00" 16