Is it possible to convert a database field that is formatted as a string value to a date time field? Any help would be greatly appreciated. Thank you very much!
Write your formula this way:
If IsDate(StringField) then // Checks if the string can be converted to a date
CDate(StringField); // Converts the string
The CDate function is pretty smart and can translate many different formats, but if it doesn't work for your format, tell me how the string is formatted and we can try to manually convert it.
CDAte worked great! Thank you very much. I was beating my head against the wall on this one. Sorry for the newbie questions I've been using crystal for 3 days now. Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.