>How can I get a valid DateTime() out of this? Do I have to parse it apart into the year, month and day first? Seems like I have used an easier way with TRANSFORM or something, but can't find it now. > >UPDATE: Nevermind. If I had just taken 2 more minutes of searching: > >cDateTime = cDate + ' ' + cTime >?cDateTime >? ctot(transform(cDateTime,'@R ^99/99/99T99:99:99'))