reworking time stamps from doubles