in reply to Re^2: Help with ReadDir and Stat?
in thread Help with ReadDir and Stat?
Then do the same with the current time:my ($mday, $mon, $year) = localtime($mtime)[3,4,5];
and then compare them. I'm sure there's a more efficient way, but this should work.my ($cmday, $cmon, $cyear) = localtime(time)[3,4,5];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Help with ReadDir and Stat?
by batcater98 (Acolyte) on Mar 13, 2008 at 18:50 UTC | |
by Akoya (Scribe) on Mar 13, 2008 at 18:59 UTC |