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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need to convert text date to date for sorting 2

Status
Not open for further replies.

Jinny

Programmer
Jun 29, 2001
26
US
I have a text log that shows the date and time as:
[19/Mar/2001:08:00:06 -0600]

Now I need a formula to convert the date so it can be sorted.


 
Try:

DateTimeValue (CDate ({field}[1 to 11]), CTime({field}[13 to 20])) Ken Hamady, On-site/Phone Crystal Reports Training/Consulting
Quick Reference Guide to using Crystal in VB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top