Thanks for your reply Joe,
Perhaps you can provide an example when you return from Philly. I looked at the help, and played with some code, but I don't see how I can make this work to convert a signed 64-bit integer to a datetime format.
If you can provide any additional information I will be very grateful!
Thanks,
- Kile
>Look at TimeOfDay.xxx
>
>Gotta run, I am of to Philly. I will not be able to chime in before then.
>
>HTH,
>
>
>>Scanning the .NET help files, help for the Convert.ToDateTime Method (Int64) returns the following information:
>>
>>"This conversion is not supported..."
>>
>>What's up with this?
>>
>>Specifically, I am writing a VB.NET routine that is querying Active Directory. First of all, I can't understand why the following AD fields are of data type Long:
>> badpasswordTime
>> pwdlastset
>> usncreated
>> accountexpires
>> lastlogoff
>> usnchanged
>>
>>...while the following fields are of data type Date:
>> whencreated
>> whenchanged
>>
>>They should all be date-time values shouldn't they?
>>
>>It wouldn't be a problem if the routine mentioned in the subject of this email were available, but it's not. How would one go about converting one of these 64-bit signed integer values to its equivalent DateTime format value (using VB.NET)?
>>
>>Thanks in advance!