NAME
Time::NT - Perl module for working with Windows NT sytem time format
SYNOPSIS
use Time::NT ':all';
my $nttime = unix_to_nt(time);
my $unixtime = nt_to_unix($nttime);
my $nt_now = nt_time();
DESCRIPTION
This module provides functions for converting NT System time format to unix time and vice versa. This time format is used extensively in Microsoft Active Directory attributes.
This module side steps any need for 64bit math, when dealing with the 64bit NT system time.
FUNCTIONS
The following functions can be exported from the Time::NT
module. No functions are exported by default.
- nt_to_unix($nt_time_str)
-
This function will take a NT system time format and convert it to a unix timestamp.
- unix_to_nt($unix_timestamp)
-
This function will take a unix timestamp and convert it to NT system time format string.
- nt_time
-
This function returns the current time in a NT time format string.
AUTHOR
Jason Fried <fried@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2010 by Jason Fried. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.