[fpc-pascal]packed date-time

Aitor Santamaria Merino aitor.sm at wanadoo.es
Tue Mar 19 23:03:17 CET 2002


Does anyone know if I can compare dates/times by comparing the packed 
date-time returned by FindFirst?

I have checked the DOS documentation and I seemed to find this:

Bitfields for file time:

Bit(s)  Description     (Table 01665)
15-11  hours (0-23)
10-5   minutes
4-0    seconds/2

Bitfields for file date:

Bit(s)  Description     (Table 01666)
15-9   year - 1980
8-5    month
4-0    day

But I am asking just in case FPC's PackTime, FindFirst and UnPackTime 
work in a different manner.



More information about the fpc-pascal mailing list