Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 07-18-2003, 08:00 AM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
windows timestamp format?

i finally got my php->ldap->active directory project working, and i'm analyzing the data retrieved from the directory.

there are fields that are time sensitive like when the account was created, last login, etc .. the value of those fields are a long string of numbers.

i'm wondering how to read those numbers.
__________________
Mike
sde is offline   Reply With Quote
Old 07-18-2003, 08:38 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
example for accountexpires:
Code:
9223372036854775807
__________________
Mike
sde is offline   Reply With Quote
Old 07-18-2003, 09:28 AM   #3 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
could it be some type of count down?
__________________


Urban Clothing
Admin is offline   Reply With Quote
Old 07-18-2003, 11:29 AM   #4 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
9223372036854775807 = 0x7FFFFFFFFFFFFFFF

this is the largest signed 64bit number.

odds are, there is some defined constant somewhere that corresponds to this number (probably something like EXPIRES_NEVER).
joe_bruin is offline   Reply With Quote
Old 07-18-2003, 12:09 PM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
bad example. .. here is lastlogon
Code:
127029794166718750
__________________
Mike
sde is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing the Windows desktop remotely bdl Windows 7 11-10-2004 07:39 AM
Microsoft probes Windows code leak redhead Code Newbie News 0 02-13-2004 12:41 AM
setting the focus on a windows form with c# sde MS Technologies ( ASP, VB, C#, .NET ) 0 07-28-2003 06:14 AM
Bloody Windows IE rendering sarah31 PHP 6 06-05-2002 07:31 PM


All times are GMT -8. The time now is 04:41 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting