timeoffset should be +1 (not -1)