MCPcopy Create free account
hub / github.com/ActiveState/code / ToCOMTime

Method ToCOMTime

recipes/Python/117215_A_Date_module/recipe-117215.py:274–276  ·  view source on GitHub ↗

Convert a date into COM format.

(self)

Source from the content-addressed store, hash-verified

272 return time.mktime(self.ToTimeTuple())
273
274 def ToCOMTime(self):
275 """Convert a date into COM format."""
276 return pythoncom.MakeTime(self.ToUnixTime())
277
278
279#More conversion functions.

Callers

nothing calls this directly

Calls 1

ToUnixTimeMethod · 0.95

Tested by

no test coverage detected