Hi I am trying to convert a date stored as number (20060731) to datetime value in SAS.
So far I have tried - SLFDATE is a db field with a numeric value, representing date:
input(put(SLFDATE,8.),yymmdd8.)
AS FCSTDATE length=8
Thank you for your help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.