Any suggestion on how I would get the year day of a file?
Have tried stat  but I get the wrong date, in fact this wrong date is what I get for all files in a folder!
Have tried the following:
my ($fsec,$fmin,$fhour,$fmday,$fmon,$fyear,$fwday,$fy day,$isdst)=localtime(stat($directory));
where $directory is the file but I get 56,7,21,13,11,70,0,346 when the modified date of the file is 13/12/2006 14:31! Any help would be much appreciated...