EN
Math - milli- prefix
6 points
Milli- is a unit prefix used primarily with the metric system. The prefix denotes a factor of 10^−3 or 0.001. It is frequently used in programming and electronics for prefixing units of time and length.
Name | milli |
Symbol | m |
Base 10 | 10^−3 |
Science | 1e−3 |
Decimal | 0.001 |
To see all metric prefixes read this article.
Programming language offers simple way to get current time in milliseconds (measured since 1970-01-01).
xxxxxxxxxx
1
const now = Date.now();
2
3
console.log(now);
xxxxxxxxxx
1
public class Program {
2
3
public static void main(String[] args) {
4
5
long now = System.currentTimeMillis();
6
System.out.println(now);
7
}
8
}