Writing time stamp