caunt
2nd of August 2003 (Sat), 11:50
Hello folks,
I'm using sdk6 with Delphi (which is unsupported, but includes most needed files). The trouble is, I can't figure out the format they are using for date/time.
(eg. in cdIMG_PROP_CAPTURE_TIME)
The base format is an unsigned 32bit integer, but HOW does canon format this into a date/time?
For example, I know that 1058764840 represents
20 Jul 2003 21:20:42, but how do I get from the integer to the date?
None of the date/time formats I've tried works correctly! (I've tried about 8).
In Addition, since I also know that
1058821650 = 21 Jul 2003 13:07:31 and
1058821658 = 21 Jul 2003 13:07:40
I'm guessing that the first 5 digits deal with day and the last 5 with time. Can someone please help me out with the rest ?
I'm using sdk6 with Delphi (which is unsupported, but includes most needed files). The trouble is, I can't figure out the format they are using for date/time.
(eg. in cdIMG_PROP_CAPTURE_TIME)
The base format is an unsigned 32bit integer, but HOW does canon format this into a date/time?
For example, I know that 1058764840 represents
20 Jul 2003 21:20:42, but how do I get from the integer to the date?
None of the date/time formats I've tried works correctly! (I've tried about 8).
In Addition, since I also know that
1058821650 = 21 Jul 2003 13:07:31 and
1058821658 = 21 Jul 2003 13:07:40
I'm guessing that the first 5 digits deal with day and the last 5 with time. Can someone please help me out with the rest ?