Timestamps for datalogging