pywintypes.Time

PyTime = 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) - for example , another PyTime object.
The integer should be as defined by the Python time module. See the description of the PyTime object for more information.