Previous Page | Next Page

Formats for NLS

NLDATEw. Format



Converts a SAS date value to the date value of the specified locale, and then writes the date value as a date.
Category: Date and Time
Alignment: left

Syntax
Syntax Description
Comparisons
Examples
See Also

Syntax

NLDATEw.


Syntax Description

w

specifies the width of the output field. If necessary, SAS abbreviates the date to fit the format width.

Default: 20
Range: 10-200

Comparisons

NLDATEw. is similar to DATEw. and WORDDATEw. except that NLDATEw. is locale-specific.


Examples

These examples use the input value of 15760, which is the SAS date value that corresponds to February 24, 2003.

Statements Results

----+----1----+----2
options locale=English_UnitedStates;

put day nldate.;
February 24, 2003
options locale=German_Germany;

put day nldate.;
24. Februar 2003


See Also

Formats:

NLDATEMNw. Format

NLDATEWw. Format

NLDATEWNw. Format

Previous Page | Next Page | Top of Page