Well, lets put it another way: Your calculations are good, you should end up with approximately 1.1E9. So I'm trying to find out if, for example, you have got the wrong data output, so you are looking at, perhaps, the address of the value, rather than the value itself.

By the way, I'm not entirely sure that time HAS to be stored as seconds from 1 jan 1970 - it conventionally is, but I'm not quite sure nit's guaranteed.

--
Mats