The DTMONYYw.
format writes SAS datetime values in the form mmmyy or mmmyyyy,
where
mmm
is the first three
letters of the month name.
yy or yyyy
is a two-digit or four-digit
integer that represents the year.
Comparisons
The DTMONYYw.
format and the MONYYw. format
are similar in that they both write date values. The difference is
that DTMONYYw. expects a SAS
datetime value as input, and MONYYw.
expects a SAS date value.
Example
The example table uses
as input the value 1678898894, which is the SAS datetime value that
corresponds to March 14, 2013, at 04:48:14 PM.