code for time when post was written is added