DateToString

Prototype

Matrix DateToString( Matrix mDate )

Return Value

The return value is a character matrix containing the string output from the DATE9. format.

Parameters

Matrix mDate
The SAS date value to be converted. A SAS date value is the number of days since January 1, 1960.

Remarks

This module converts a SAS date value to a string by processing it with the DATE9. format.

Example
m = DateToString( 6029 );
print m;
print 6029[format=DATE9.];
See Also

DateTimeToString
StringToDate