pywintypes.Time

PyDateTime = Time(timeRepr)

Creates a new time object.

Parameters

timeRepr : object

An integer/float/tuple time representation.

Comments

Note that the parameter can be any object that supports int(object) or another PyDateTime object.
The integer should be as defined by the Python time module. See the description of the PyDateTime object for more information.