What's New in SAS 9.4 Formats and Informats
Overview
New formats write date,
time, and datetime values based on user local time.
Some format values might
differ slightly when the DECIMALCONV= system option is set to STDIEEE.
For SAS 9.4, there are
no new or enhanced informats.
New SAS Formats
The following formats
are new:
Adjusts a Coordinated
Universal Time (UTC) datetime value to the user local date and time.
Then, writes the local date and time by using the ISO 8601 datetime
and time zone basic notation yyyymmddThhmmss+hhmm.
Writes datetime values
as local time by appending a time zone offset difference between the
local time and UTC, using the ISO 8601 basic notation yyyymmddThhmmss+|-hhmm.
Adjusts a Coordinated
Universal Time (UTC) value to the user local time. Then, writes the
local time by using the ISO 8601 basic time notation hhmmss+|–hhmm.
Adjusts a Coordinated
Universal Time (UTC) datetime value to the user local date and time.
Then, writes the local date and time by using the ISO 8601 datetime
and time zone extended notation yyyy-mm-ddThh:mm:ss+hh:mm.
Writes datetime values
as local time by appending a time zone offset difference between the
local time and UTC, using the ISO 8601 extended notation yyyy-mm-ddThh:mm:ss+|-hh:mm.
Adjusts a Coordinated
Universal Time (UTC) value to the user local time. Then, writes the
local time by using the ISO 8601 extended time notation hh:mm:ss+|–hh:mm.
Format Output Differences Due to the DECIMALCONV= System Option
When the DECIMALCONV=
system option is set to STDIEEE, SAS converts and formats decimal
values using the IEEE Standard for Floating-Point Arithmetic 754–2008.
This standard improves the accuracy of floating point numbers. The
output written for the following format might differ slightly from
previous releases:
BESTDw.p |
E8601TZw.d |
S370FPDUw.d |
B8601DTw.d |
HHMMw.d |
S370FZDw.d |
B8601TMw.d |
HOURw.d |
S370FZDLw.d |
COMMAw.d |
MDYAMPMw.d |
S370FZDSw.d |
Dw.d |
MMSSw.d |
S370FZDTw.d |
DATEAMPMw.d |
NEGPARENw.d |
S370FZDUw.d |
DATETIMEw.d |
NUMXw.d |
TIMEw.d |
DOLLARw.d |
PDw.d |
TIMEAMPM |
DOLLARXw.d |
PERCENTw.d |
TOD |
Ew. |
PERCENTNw.d |
w.d |
E8601DTw.d |
PVALUEw.d |
ZDw.d |
E8601TMw.d |
S370FPDw.d |
Enhancements to Existing Informats
In the second
maintenance release for SAS 9.4, new aliases have
been added for some time-zone informats:
New Alias
|
Existing Informat
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright © SAS Institute Inc. All rights reserved.