Enforce the date format needed in the message payload