Converts a FILETIME timestamp to a POSIX (unix) timestamp.
Converts a Microsoft Windows FILETIME timestamp to a POSIX timestamp.
| Parameter: | timestamp (int) – The FILETIME timestamp. | 
|---|---|
| Return type: | int | 
| Returns: | The time as a POSIX timestamp. | 
Converts a POSIX timestamp to a FILETIME timestamp.
Converts a POSIX timestamp to a Microsoft Windows FILETIME timestamp.
| Parameter: | timestamp (int) – The POSIX timestamp. | 
|---|---|
| Return type: | int | 
| Returns: | The time as a FILETIME timestamp. | 
Converts a POSIX (unix) timestamp to a datetime.
Creates a datetime object from a POSIX (unix) timestamp.
| Parameter: | timestamp (int) – The timestamp as an integer. | 
|---|---|
| Return type: | datetime | 
| Returns: | The corresponding datetime object. | 
Converts a FILETIME to a datetime.
Creates a datetime object from a stream.
| Parameters: | |
|---|---|
| Raises ValueError: | |
If the FILETIME structure is invalid.  | 
|
| Return type: | datetime  | 
| Returns: | The corresponding datetime object.  | 
Creates a datetime object from a ctype.
| Parameter: | ctype (filetime_le or filetime_be) – A FILETIME object. | 
|---|---|
| Raises ValueError: | |
| If the FILETIME object is invalid. | |
| Return type: | datetime | 
| Returns: | The corresponding datetime object. | 
Converts a Microsoft FILETIME timestamp to a datetime object.
| Parameter: | timestamp (int) – The timestamp as a 64 bit integer. | 
|---|---|
| Raises ValueError: | |
| If timestamp is an invalid value. | |
| Return type: | datetime | 
| Returns: | The corresponding datetime object. | 
Converts DOS date and times to a datetime.
Converts DOS date and time values to a datetime.
| Parameters: | 
  | 
|---|---|
| Raises ValueError: | |
if both dos_date and dos_time are None.  | 
|
| Return type: | datetime  | 
| Returns: | The corresponding datetime object.  | 
Converts variant timestamp (OLE date) to a datetime.
Creates a datetime object from a stream.
| Parameters: | |
|---|---|
| Raises ValueError: | |
If the Variant timestamp is invalid.  | 
|
| Return type: | datetime  | 
| Returns: | The corresponding datetime object.  | 
Converts a Variant timestamp to a datetime.
| Parameter: | timestamp (float) – The Variant timestamp. | 
|---|---|
| Raises ValueError: | |
| If timestamp is an invalid value. | |
| Return type: | datetime | 
| Returns: | The corresponding datetime object. |