Previous Page | Next Page

Formats for NLS

NLDATMAPw. Format



Converts a SAS datetime value to the datetime value of the specified locale, and then writes the value as a datetime with a.m. or p.m.
Category: Date and Time
Alignment: left

Syntax
Syntax Description
Comparisons
Examples
See Also

Syntax

NLDATMAPw.


Syntax Description

w

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

Default: 32
Range: 16-200

Comparisons

The NLDATMAPw. format is similar to DATEAMPMw. except that the NLDATMAPw. format is locale-specific.


Examples

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

Statements Results

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

put event nldatmap.;
February 24, 2003 12:39:43 PM
options locale=Spanish_Mexico;

put event nldatmap.;
24 de febrero de 2003 12:39:43 PM


See Also

Formats:

NLDATMw. Format

NLDATMTMw. Format

NLDATMWw. Format

Previous Page | Next Page | Top of Page