Converting SAS datetime to oracle_datetime


/ Published in: SAS
Save to your folder(s)

Annoyingly hard to find, I'm sure others out there have felt the pain of converting sas dates to oracle date formats.

example:
data _null_;
x_dt = datetime();
x_d = date();
put x_dt oracle_datetime.;
put x_d oracle_date.;
run;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.