fix bug in timestamp creation, now we get elapsed seconds since
1970-01-01, #18