? Ctod((Transform("022301", "@R 99/99/9999")))>and for 03312001 - date(val(right(to),4)),val(left(to,2)), val(substr(to,3,2)))
? Ctod((Transform("03312001", "@R 99/99/9999")))As you can see the same code will convert both. It'll work if SET STRICTDATE is set to 1 or lower.