Re: What format is $dirent->time() ?
From: Christopher H. Laco <claco_at_chrislaco.com>
Date: 2005-09-01 22:15:00 CEST
Christopher H. Laco wrote:
I figured this out. It's not terribly intuitive from the perldoc pod.
$dirent->time appears to return epoch+miliseconds:
my $time = $dirent->time; # 1125338412570734
localtime($epoch) / gmtime($epoch) return the expected results.
my $totalmili = ($epoch*1000)+$mili;
What started this all was sending the easiest thing to javascript for
<javascript type="text/javascript">
It all works correctly, so I can only assume that the above is really
-=Chris
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.