On 05/26/00, ""Eric Stephenson" <[EMAIL PROTECTED]>" wrote:

> .. get the file date and time but for some reason am not getting what I am expecting.

> I am running this on NT 4.0

I am not convinced beyond all doubt that there isn't something weird going 
on with perl dates on WinNT using certain core functions. But I cannot 
produce the proof right now and it's likely that I am merely overtired 
these last several long nights of coding. Anyway, I know your code (which I 
didn't quote) was wrong, mistyped and all that, but FWIW here's something 
that I KNOW works:

#!perl -w
use Time::gmtime;
$r_mtime = time;
$date_string = gmctime($r_mtime) . ' GMT';
print $date_string;

[Gives me:
Sat May 27 07:54:10 2000 GMT
on WinNT 4, a few mintes ago :-) ]
  HTH,
    soren andersen

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to