Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the system time represent?

Tags:

java

time

When the system time is printed, for example 1331783190854, what time might this be? I'd figure it'd be that many milliseconds (millis was in the code), but the number is too big.

like image 279
user1271649 Avatar asked Feb 16 '26 16:02

user1271649


1 Answers

Assuming you mean in terms of System.currentTimeMillis()?

It's the number of milliseconds since midnight on 1st January, 1970, UTC.

like image 65
Michael Berry Avatar answered Feb 18 '26 04:02

Michael Berry