in reply to stat function ? number two

The time returned is in seconds since the epoch. It only displays date and time if you translate it to a date and time. If you don't want to have the time, then don't do that!

You might want to investigate the POSIX::strftime function.

Abigail

Replies are listed 'Best First'.
Re: Re: stat function ? number two
by Anonymous Monk on Jun 12, 2002 at 15:38 UTC
    can't I do it with localhost
      I mean localtime
        You mean, just localtime? No. You'd use localtime in combination with POSIX::strftime to get your wanted results.

        Abigail