Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert.ToDateTime Method (Int64)
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00810877
Message ID:
00810987
Views:
9
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!
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform