Gray gets licence time