⨳ dates from date times ⨳

2012 Oct 28, Sunday

⨳ 1 minute read ⨳ 64 words ⨳ date valuesfunctionsastechnical debt

Browsing online to find examples of creating a JSON file from a SAS data set I came across a monstrosity for extracting a date value from a date time value.


I cringed and made a sound befitting of a good Halloween costume. Here’s my typical approach for this:


Either way, I guess.

dates from date times - October 28, 2012 - Richard Koopmann