Thank you for your reply!
My problem is a little bit different.
SLFDATE is a numeric field of an Oracle database. For some reasons developers decided to store Dates as numeric values. I need to transfer data from this Database to a MSSQL Database to a table with DateTime field.
My solution.
I...
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.