updated datetime messages to make it more flexible