Perl-Sensitive Sunglasses | |
PerlMonks |
Re: $ftp->mdtm questionby fokat (Deacon) |
on Mar 19, 2003 at 21:58 UTC ( [id://244475]=note: print w/replies, xml ) | Need Help?? |
Beware the timezone differences. It seems that there is not a standard way to learn the timezone in which the FTP server is running. IIRC, MDTM should return the timestamp in UTC, but I've found this to be unreliable. In a utility I wrote (here and here), I simply add an offset to the time to make an accurate comparison. Best regards -lem, but some call me fokat
In Section
Seekers of Perl Wisdom
|
|