<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Knowledge Base &#187; Windows</title>
	<atom:link href="http://kb.philross.co.uk/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://kb.philross.co.uk</link>
	<description></description>
	<lastBuildDate>Tue, 26 Aug 2008 11:07:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Converting Active Directory Date Time Attributes</title>
		<link>http://kb.philross.co.uk/2007/08/28/converting-active-directory-date-time-attributes/</link>
		<comments>http://kb.philross.co.uk/2007/08/28/converting-active-directory-date-time-attributes/#comments</comments>
		<pubDate>Tue, 28 Aug 2007 09:22:28 +0000</pubDate>
		<dc:creator>Phil</dc:creator>
				<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://kb.philross.co.uk/2007/08/28/converting-active-directory-date-time-attributes/</guid>
		<description><![CDATA[To convert a date time attribute in Active Directory (e.g. as used by lastLogon) to a human readable date time, you can use the w32tm command.
For example with the following LDAP record:
dn: CN=John Smith,CN=Users,DC=DC=example,DC=com
lastLogon: 128326919184182832

Running
w32tm /ntte 128326919184182832
Will give the output
148526 12:38:38.4182832 - 27/08/2007 13:38:38 (local time)

See Microsoft Knowledge Base article 555936 for more information.
]]></description>
			<content:encoded><![CDATA[<p>To convert a date time attribute in Active Directory (e.g. as used by lastLogon) to a human readable date time, you can use the w32tm command.</p>
<p>For example with the following LDAP record:</p>
<p><code>dn: CN=John Smith,CN=Users,DC=DC=example,DC=com<br />
lastLogon: 128326919184182832<br />
</code></p>
<p>Running</p>
<p><code>w32tm /ntte 128326919184182832</code></p>
<p>Will give the output</p>
<p><code>148526 12:38:38.4182832 - 27/08/2007 13:38:38 (local time)<br />
</code></p>
<p>See Microsoft Knowledge Base article <a href="http://support.microsoft.com/kb/555936">555936</a> for more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://kb.philross.co.uk/2007/08/28/converting-active-directory-date-time-attributes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
