E8601DAw. Format

Writes date values by using the ISO 8601 extended notation yyyy-mm-dd.

Categories: Date and Time
ISO 8601
Alignment: Left
Alias: IS8601DAw.
Restriction: UTC time zone offset values are not supported.
Supports: ISO 8601 Element 5.2.1.1, complete representation

Syntax

E8601DAw.

Syntax Description

w

specifies the width of the output field.

Default 10
Requirement The width of the output field must be 10.

Details

The E8601DA format writes a date by using the ISO 8601 extended notation yyyy-mm-dd:
yyyy
is a four-digit year.
mm
is a two-digit month (zero padded) between 01 and 12.
dd
is a two-digit day of the month (zero padded) between 01 and 31.

Example

put eda e8601da.;
Value for eda
Result
19251
2012-09-15