This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
But I don't understand how those numbers are represented
Well, it's your data!! You have to tell us how it is represented !! Different systems have different representations.
Now, if this is the same as the long that is returned from the System clas, then the value is "the difference, measured in milliseconds, between the [represented] time and midnight, January 1, 1970 UTC".
Usually subtracting a week's worth of milliseconds is not a problem. However, there is this nasty thing called "daylight savings time", that once a year makes a day 23 hours and once a year 25 hours. This makes the calculation inaccurate if the hours is before 1 am or after 11 pm.