in reply to A quick date swap from a string
Update: Showing how you call your function would be helpful, too.