round_to_half function

Round numeric time value to half hour basis.