NLDATMw. Informat

Reads the datetime value of the specified locale, and then converts the datetime value to the local SAS datetime value.
Category: Date and Time

Syntax

NLDATMw.

Syntax Description

w
specifies the width of the input field.
Default:30
Range:10–200

Example

The following examples use the input value of February 24, 2003 12:39:43.
Statements
Results
----+----1----+
options locale=English_UnitedStates;
y=input('24.Feb03:12:39:43', nldatm.);
put y=;
1361709583
options locale=German_Germany;
y=input('24.Februar 2003 12.39 Uhr', nldatm.);
put y=;
1330171200

See Also

Format: