Advertisement

08.16.2008 at 07:57PM PDT, ID: 23654197 | Points: 500
[x]
Attachment Details

Perl script for converting Active Directory DNS aging timestamp

Asked by markpalinux in Perl Programming Language, Active Directory

I am using Windows 2003 for DNS which support dynamic dns using MS dnscmd command for a zoneprint  I get the timestamp, which is in a format of hours since Jan1,1601.

here is one of the numbers, I tried using
use DateTime::Format::Epoch; and add hours but it didn't give the correct time.

Here is one of the time stamps I have gotten, from the dns dump , the converted number should be sometime last week or next week.
3570328


http://en.wikipedia.org/wiki/1601
"January 1, 1601, is used as the base of file dates[1] by Microsoft Windows."

Thanks,
MarkStart Free Trial
[+][-]08.16.2008 at 08:42PM PDT, ID: 22246034

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.16.2008 at 08:48PM PDT, ID: 22246040

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628