NAME

DateTime::NT - Perl extension for Working with Windows NT sytem time format

SYNOPSIS

use DateTime::NT ':all';
my $nttime = unix_to_nt(time);
my $unixtime = nt_to_unix($nttime);

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 DateTime::NT module. No functions are exported by default.

nt_to_unix($nt_datetime_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.

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.