Made date in the good format