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

Parse Complex Date

Status
Not open for further replies.

tleish

Programmer
Jan 17, 2001
619
US
I have a small time card application that writes the info to a txt file. I'm trying to parse through the txt file with ColdFusion, but I'm not sure how to parse out the date format.

I've talked to the developer of the application, but they don't know anything about the date, the use another app to write to and read from the txt file. Supposedly it's supposed to be writing in an INI or Registry format, but I don't know much about that.

Any ideas?

Here are some of the strings. The dates I'm trying to parse are in bold:

7/22/01 00:00:00 (12:00:00 AM)
date=454C 8 00 00 00 00 C0 1C E2 40

7/22/01 00:30:00 (12:30:00 AM)
date=454C 8 AB AA AA AA C0 1C E2 40

7/22/01 00:30:00 (9:30:30 AM)
date=454C 8 2E D8 82 AD CC 1C E2 40

7/20/01 00:00:00 (12:00:00 AM)
date=454C 8 00 00 00 00 80 1C E2 40 - tleish
 
What program did the developer use to write to and read from the .txt file?

-N
 
I think it might have been Cobalt. I was going to ask that forum, but I was hoping some of my fellow CF friends could help out. I'll try there. - tleish
 
Actually, looking at it again it looks like it's written in Delphi or C++ - tleish
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top