Add method for message date