Escolar Documentos
Profissional Documentos
Cultura Documentos
Formats by Category
There are four categories of formats in this list:
Category Description
Character instructs SAS to write character data values from character variables.
Date and Time instructs SAS to write data values from variables that represent dates,
times, and datetimes.
ISO 8601 instructs SAS to write date, time, and datetime values using the ISO 8601
standard.
Numeric instructs SAS to write numeric data values from numeric variables.
TODw.d Format Writes SAS time values and the time portion of SAS
datetime values in the form hh:mm:ss.ss.
WEEKDATEw. Format Writes date values as the day of the week and the
date in the form day-of-week, month-name
dd, yy (or yyyy).
WEEKDATXw. Format Writes date values as the day of the week and date
in the form day-of-week,dd month-name
yy (or yyyy).
WEEKDAYw. Format Writes date values as the day of the week.
WEEKUw. Format Writes a week number in decimal format by using the
U algorithm.
WEEKVw. Format Writes a week number in decimal format by using the
V algorithm.
WEEKWw. Format Writes a week number in decimal format by using the
W algorithm.
WORDDATEw. Format Writes date values as the name of the month, the
day, and the year in the formmonth-name dd, yyyy.
WORDDATXw. Format Writes date values as the day, the name of the
month, and the year in the formdd month-name
yyyy.
YEARw. Format Writes date values as the year.
YYMMw. Format Writes date values in the form <yy>yyM mm, where
M is a character separator to indicate that the month
number follows the M and the year appears as either
2 or 4 digits.
YYMMxw. Format Writes date values in the form <yy>yymm or
<yy>yy-mm, where the x in the format name is a
character that represents the special character that
separates the year and the month, which can be a
hyphen (-), period (.), blank character, slash (/), colon
(:), or no separator; the year can be either 2 or 4
digits.
YYMMDDw. Format Writes date values in the form yymmdd or < yy>yy-
mm-dd, where a dash is the separator and the year
appears as either 2 or 4 digits.
YYMMDDxw. Format Writes date values in the form yymmdd or < yy>yy-
mm-dd, where the x in the format name is a
character that represents the special character which
separates the year, month, and day. The special
character can be a hyphen (-), period (.), blank
character, slash (/), colon (:), or no separator; the
year can be either 2 or 4 digits.
YYMONw. Format Writes date values in the
form yymmm or yyyymmm .
YYQw. Format Writes date values in the form <yy>yyQ q, where Q
is the separator, the year appears as either 2 or 4
SAS MADE EASY – TABLES BY LATHA