Previous Page | Next Page

Formats

B8601DAw. Format



Writes date values using the IOS 8601 base notation yyyymmdd.
Category: Date and Time
ISO 8601
Alignment: left
Time Zone Format: No
ISO 8601 Element: 5.2.1.1 Complete representation

Syntax
Syntax Description
Details
Examples
See Also

Syntax

B8601DAw.


Syntax Description

w

specifies the width of the output field.

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

Details

The B8601DA format writes the ISO 8601 basic date notation yyyymmdd:

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

put bda $b8601da.;

Value of bda Results
17790
20080915


See Also

Working with Dates and Times Using the ISO 8601 Basic and Extended Notations

Previous Page | Next Page | Top of Page