Your job is to find the location and format of the date/time stamp (of when the data was collected) in a binary file written in 'C' under Solaris.. Attached is a zip file with four samples of the data file (*.IR) with corresponding text files (*.RFF) from the equipment maker. The equipment often does not produce the text file, so I am pulling the data I need out of the binary file, which is always available. When you open the text file you'll see the "ResultTimeStamp" value near line 9. That is the data I'm looking for in the binary file. I have already located the images and other data I need from the binary file, but I have failed to find the date/time stamp. Included is the VB code section where I read the header, including a failed attempt to find the time-stamp. The VB calls some 'C' functions I wrote to find strings and swap bytes (big-endian to little-endian) in the binary data. The binary file contains a 512x512 image near the beginning, followed by some set-up data. the "sldl" flag seems to mark the end of the header and the start of the scanning data. The count of items follows the "sldl" flag, which is typically 500 - 900 KB into the file.
## Deliverables
A short document giving 1. the location (byte offset) in each IR (binary) file of the date/time, 2. how to interpret the number in the binary file (e.g. how to convert it into a DATE type in VB), and 3. a possible way of finding it.
## Platform
I'll implement this in VB6--a few lines added to the ReadIRHeader function provided