sql convert date and time int into datetime