> > if Year = ThisYear then
> >     TimeStr := Format('%2.2d:%2.2d', [Hour, Min])
> > else
> >     TimeStr := Format('%5d', [Year]);

This would be much better if the test was for more than 12 months ago, 
rather than this calendar year, otherwise each January file time stamps 
for the previous year become date only without a time element, which is 
a pain for applications that check date and time (but not looked at the 
full function code).  

My applications all use the MLSD directory stuff, so I've not looked 
closely at the Unix format. 

Angus
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to