If the stored value is a datetime in epoch format (or Unix datetime), you need to first convert to a SAS datetime value. Basically, that's adjusting the value by 10 years worth of seconds -- or milliseconds depending on how the data is stored. See How to convert a Unix datetime to SAS.
/* Number of seconds between 01JAN1960 and 01JAN1970: 315619200 */
sasDT = unixDT + 315619200;
/* OR */
/* DHMS function calculates datetime when you provide values for */
/* date, hour, minute, and seconds */
/* In this case, "seconds" is a very high value! */
sasDT = dhms('01jan1970'd, 0, 0, unixDT);
Once in a SAS datetime, you can use DATEPART() to get just the date value, and INTNX to add/subtract timespans at any interval (days, hours, seconds, months, years, and more).