Create a date value from a text string

It was in another message thread.