Thread
:
Which reference library has Int64 ?
View Single Post
#
2
Posted to microsoft.public.excel.programming
[email protected]
external usenet poster
Posts: 129
Which reference library has Int64 ?
wrote:
Thanks.
BTW: Here's an example usage:
(I googled and figured that LastLogin must be Int64 because of it's
HighPart method.)
If I'm on the wrong track and you have any ideas let me know.
Here's an example value : 128038660578885137
set LastLogin = objMember.get("lastLogonTimeStamp")
If LastLogin.HighPart = "" Then
intLLTS = "Never"
Else
intLogonTime = LastLogin.Highpart * (2^32) + LastLogin.LowPart
IntLogonTime = IntLogonTime / (60 * 10000000)
intLogonTime = intLogonTime / 1440
if intLogonTime = 0 Then
intLLTS = "Never"
Elseif intLogonTime = "" Then
intLLTS = "Never"
Else
intLLTS = intLogonTime + #1/1/1601#
End If
End If
Reply With Quote
[email protected]
View Public Profile
Find all posts by
[email protected]