Previous Page | Next Page

Informats

E8601DAw. Informat



Reads date values that are specified in the ISO 8601 extended notation yyyy-mm-dd.
Category: Date and Time
ISO 8601
Alignment: left
Alias: IS8601DA
Time Zone Informat: No
ISO 8601 Element: 5.2.1.1 Complete representation

Syntax
Syntax Description
Details
Examples
See Also

Syntax

E8601DAw.


Syntax Description

w

specifies the width of the input field.

Default: 10
Requirement: The width of the input field must be 10.

Details

The E8601DA informat reads date values that are specified in the ISO 8601 extended date notation yyyy-mm-dd:

yyyy

is a four-digit year, such as 2008

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


Examples

input eda e8601da.;

Data Line Results
----+----1

2008-09-15
17790


See Also

Reading Dates and Times Using the ISO 860 Basic and Extended Notations

Previous Page | Next Page | Top of Page