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 hour

An integer, representing the hour

INTEGER minute

An integer, representing the minute

INTEGER second

An integer, representing the second

INTEGER mseconds

Optional, the number of milliseconds

Return value

INTEGER

The number of milliseconds since midnight, or -1 if any of the parameters is out of range