Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date string conversion

Status
Not open for further replies.

rhoneyfi

MIS
Apr 8, 2002
200
US
I'm pretty new with Crystal, so this is probably a basic question.

I have a date/time field that is classified as a string:

ex: "04/14/2003 02:15:52" . I simply want to convert this into a field that is acutally classified as a date/time field so that I can do a couple calculations. I know there is a formula somewhere....

I tried the DTStoDateTime function, but it only returned the time, but not the date.

Thanks for any info






 
Try:

cdatetime("04/14/2003 02:15:52")

Replacing the datetime with your field.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top