MakeTime (open)
Calculate the number of milliseconds from an hour, minute and second value
Syntax
LOADLIB "wh::datetime.whlib";
INTEGER FUNCTION MakeTime(INTEGER hour, INTEGER minute, INTEGER second, INTEGER mseconds)Parameters
INTEGER hourAn integer, representing the hour
INTEGER minuteAn integer, representing the minute
INTEGER secondAn integer, representing the second
INTEGER msecondsOptional, the number of milliseconds
Return value
INTEGERThe number of milliseconds since midnight, or -1 if any of the parameters is out of range