NAME

Win32::UrlCache::FileTimePP - convert Windows FileTime to DateTime object

SYNOPSIS

use Win32::UrlCache::FileTimePP;
filetime( '0x809F9D637B90C701' ); # 2007-05-07T07:43:23

DESCRIPTION

This is used internally to convert a Windows FileTime data to a (Perl's) DateTime object. According to MSDN, Windows FileTime is a structure of "a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601."

FUNCTION

filetime

receives a FileTime binary structure or an equivalent hex string (which should start with '0x') and returns a DateTime object. This function is exported by default.

AUTHOR

Kenichi Ishigaki, <ishigaki at cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Kenichi Ishigaki.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.