As tools has pointed out, currentTimeMillis() does not take into account your local clock at all, only the unix epoch time since January 1970. This fact is also true for the Date object internal...