Previous Page | Next Page

Formats for NLS

NLDATMWw. Format



Converts SAS datetime values to the locale sensitive datetime string as the day of the week and the datetime.
Category: Date and Time
Alignment: left

Syntax
Syntax Description
Comparisons
Examples
See Also

Syntax

NLDATMWw.


Syntax Description

w

specifies the width of the output field. If necessary, SAS abbreviates the day of week and datetime to fit the format width.

Default: 30
Range: 16-200

Comparisons

The NLDATMWw. format is similar to the TWMDYw. format except that the NLDATMWw. format is locale-specific.


Examples

These examples use the input value of 1361709583, which is the SAS datetime value that corresponds to 12:39:43 p.m. on February 24, 2003.

Statements Results

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

put event nldatmw.;
Sun, Feb 24, 2003 12:39:43
options locale=German_Germany;

put event nldatmw.;
So, 24. Feb 2003 12.39 Uhr


See Also

Formats:

NLDATMw. Format

NLDATMAPw. Format

NLDATMTMw. Format

Previous Page | Next Page | Top of Page