StringToTime (Reserved_Word)

image\trumpet2.gif Disclaimer

This reserved word returns only the time portion of a DateTime value representing the specified string expression of the date in "HH:MM:SS TT" format.

StringToTime(strTime);

Remarks

The specific time must be a valid time.

Examples

Value1 = StringToTime("10:12:43 PM");  returns a DateTime value of 0.93 for the specified date of 10:12:43 PM.