Number returned can also be a long
Extract the date only if the conversion happened