I don' t know whether this has been noted in other messages. Using DtaDate function from the PB library, to get the date stamp of a file that is Jan 4, 2000, Dos2Date returns Year=100 to DtaDate (and i think it' s ok), then the MakeDate returns a date with the year = 100. Probably in the block
IF Year < 80 THEN 'assume we've rolled into the next century
INCR Year, 2000
ELSEIF Year < 100 THEN 'between 1980 and 1999
INCR Year, 1900
END IF
the ELSEIF should be
ELSEIF Year <= 100 THEN 'between 1980 and 2000.
I don' t know whether this is the right solution, in case i will wonder next year..
Davide Vecchi
[email protected]
IF Year < 80 THEN 'assume we've rolled into the next century
INCR Year, 2000
ELSEIF Year < 100 THEN 'between 1980 and 1999
INCR Year, 1900
END IF
the ELSEIF should be
ELSEIF Year <= 100 THEN 'between 1980 and 2000.
I don' t know whether this is the right solution, in case i will wonder next year..
Davide Vecchi
[email protected]
Comment