Wrong timestamp getting recorded

There is already a lengthy discussion regarding this here.