> "Paul" == Paul Harwood <[EMAIL PROTECTED]> writes:
Paul> I am trying to compare a file's modified timestamp with the current date.
Paul> I can use 'stat' to get the timestamp of the file but am not sure how to compare
it to the localtime(). More importantly I want to be able to quantify the
Paul Harwood wrote:
>
> I am trying to compare a file's modified timestamp with the current date.
>
> I can use 'stat' to get the timestamp of the file but am not sure how to
> compare it to the localtime(). More importantly I want to be able to
> quantify the difference in days, month, hours and
On Thu, 16 Oct 2003 11:07:44 -0700, Paul Harwood wrote:
> I am trying to compare a file's modified timestamp with the current
> date.
Take a look at the Date-related modules on CPAN. There are almost too
many to list here, but those I use frequently (more or less), are:
Time::Piece
Date::Cal