displaying time in attachment display