StringToDate (Reserved_Word)

image\trumpet2.gif Disclaimer

This reserved word returns only the date portion of a DateTime value representing the specified string expression of the date in "MM/DD/YY" or "MM/DD/YYYY"  format.

StringToDate(strDate);

Remarks

The specific date must be a valid date between January 1, 1900 and February 28, 2150, expressed in DateTime format.

Examples

Value1 = StringToDate("02/01/03");  returns a DateTime value of 37653 for the specified date of Feb. 1 2003.