formatted time for messages