| currentTimeMillis |
() |
yoix.system |
| |
Returns the number of milliseconds, as a double,
that have elapsed since 00:00:00 GMT, January 1, 1970.
| |
| Example: |
The program,
import yoix.stdio.*;
import yoix.system.*;
import yoix.thread.*;
double start = currentTimeMillis();
sleep(.5);
printf("elapsed milliseconds %g\n", currentTimeMillis() - start);
should print a number slightly larger than
500
on standard output.
| | |
| Return: |
double
| | |
| See Also: |
date,
nanoTime,
parseDate,
parseTimer,
sleep,
time,
timerFormat
|
|
Yoix is a registered trademark of AT&T Inc.
|