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


Win32-UrlCache documentation  | view source Contained in the Win32-UrlCache distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

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

Top

Kenichi Ishigaki, <ishigaki at cpan.org>

COPYRIGHT AND LICENSE

Top


Win32-UrlCache documentation  | view source Contained in the Win32-UrlCache distribution.