EncodeTime (Reserved Word)

image\trumpet2.gif Disclaimer

This reserved word returns a DateTime value expression representing the four specified numeric time parameters (Hours, Minutes, Seconds, Milliseconds).

EncodeTime(13,24,10,06);

Remarks

The specified numeric values must represent a valid time in 24-hour military format.

Examples

Value1 = EncodeTime(13,24,10,06) //returns a value of 0.56 for 1:24:10.06 PM.