StringToDate

Prototype

Matrix StringToDate( Matrix mDateString )

Return Value

The return value is the SAS date value from the DATEw. informat. A SAS date value is the number of days since January 1, 1960.

Parameters

Matrix mDateString
The string to be processed by the DATEw. informat.

Remarks

This module converts a string to a SAS date value by processing it with the DATEw. informat.

Example
m = StringToDate( "01JAN2000" );
print m;
print "01JAN2000"D;
See Also

DateToString
StringToDateTime