Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

System.currenttimemillis() returns value ..can't decode it

800375Jul 25 2008 — edited Jul 30 2008

Does System.currenttimemillis() return milli seconds elapsed after Jan 1, 1970... does it have no relation with our current time...



When i did it and print it out .. my millis were the last 3 digits and secs were the 2 dgits before miiliseconds..


eg: XXXXXXXssmmm



or was it just a mere coincidence...very confused..

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2008
Added on Jul 25 2008
14 comments
759 views