Tag: date-time

Computing a date from the past (or future) with SAS

Social media has brought anniversary dates to the forefront. Every day, my view of Google Photos or Facebook shows me a collection of photos from exactly some number of years ago to remind me of how good things were back then. These apps are performing the simplest of date-based math […]

The post Computing a date from the past (or future) with SAS appeared first on The SAS Dummy.

How to convert a Unix datetime to a SAS datetime

I watched with wonder as each of my daughters learned how to “tell time.” Early in their primary school careers, they brought home worksheets that featured clock faces with big-hand/little-hand configurations that they had to decipher, and exercises that asked them to draw the hands as they should appear given […]

The post How to convert a Unix datetime to a SAS datetime appeared first on The SAS Dummy.

Read a Microsoft date-time value into a SAS date-time value

A colleague was recently working with a web service that supplies some date-time values using the Microsoft Windows internal representation. He called the web service to retrieve those values (along with other data) from SAS, and he needed convert these values to SAS date-time values. The Microsoft definition for a […]