setMilliSeconds()

The method sets the milliseconds.

Synopsis

int time.setMilliseconds(int milli);

Parameter

Parameter Description
milli The milliseconds.

Description

The function returns -1 in case of a value range error and otherwise 0. The method does not change the date.

Return Value

The function returns -1 in case of a value range error and otherwise 0.

Example

main()
{
  time t;
  DebugN("Set the milliseconds:", t.setMilliSeconds(50));
}

Assignment

Time function

Availability

UI,CTRL