On 9 Apr 2002 00:59:02 -0000, [EMAIL PROTECTED] wrote:

> wrote:

>> The correct 4 bytes are being "grabbed" from cache.idx

> Are you really sure that it is the correct bytes??
> (The filesize is not correct, sometimes files are in Gigabyte sizes )

Yes, I'm sure.

My example was not hypothetical.
These are the 4 bytes that wwwman grabbed from the cache.idx file.

C2 1A B2 3C = 1,018,305,218
(date/time of file in question = Apr 08 18:33:42 2002 )

1,018,305,218 seconds after Jan 01 00:00:00 1970 == Apr 08 18:33:42 2002


Try it for yourself. ;-)

--- 04082002.cpp ---
#include <stdio.h>
#include <time.h>

int main(void)
{
   time_t t;

   time(&t);
   printf("Today's date and time: %s\n", ctime(&t));
   long c=1018305218l;
   printf("date/time of 1,018,305,218: %s\n", ctime(&c));
   return 0;
}
____________________


-- 
 Glenn
 http://arachne.cz/
 http://www.delorie.com/listserv/mime/
 http://www.angelfire.com/id/glenndoom/download.htm
 http://www.thispagecannotbedisplayed.com/

Reply via email to