Why when I run this many times I get different results (different hour/day) and also not the expected UNIX date?