powered by
year_as_Date (x,format.out)
# d=1946.167, which is March 1,1946 year_as_Date (x=1946.167,format.out='%d-%m-%Y')
Run the code above in your browser using DataLab