On Fri, 27 Jun 2003 19:02:31 +0000, you wrote:

>The perl code is working fine on UNIX server to get the file created date
>
>$dir_string = 'ls -l $rootdir/Outages.Log';
>$Last_update = substr($dir_string, 41,12);

Despite what some man pages claim, Unix doesn't store file creation
times; what you're getting is the time the file was last modified.  That
would correspond to creation only if the file has not changed. As
mentioned elsewhere, stat is far more portable, at least for
modification times.

-- 
Eric Amick
Columbia, MD

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to