MCPcopy Create free account
hub / github.com/fortra/impacket / getUnixTime

Method getUnixTime

examples/GetADComputers.py:86–89  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

84
85 @staticmethod
86 def getUnixTime(t):
87 t -= 116444736000000000
88 t /= 10000000
89 return t
90
91 def processRecord(self, item):
92 if isinstance(item, ldapasn1.SearchResultEntry) is not True:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected