Support Bool -> Time cast