TimeToString (Reserved_Word)

image\trumpet2.gif Disclaimer

This reserved word returns a string expression representing only the time portion of the specified DateTime value.

TimeToString(dDateTime);

Where dDateTime is a double-precision decimal expression representing the Julian Date (since 1900) and time (since midnight).

Remarks

If a specific time is entered for the numeric expression, it must be expressed in DateTime format.

Examples

strVar = TimeToString(37561.61200);  returns a value of "2:41:17 PM" for the specified DateTime of 37561.61200.