set time for message