Win32 Filetime / Datetime conversion functions
Project description
filetime.py
A Python module to convert datetime to/from a Win32 FILETIME structure.
Usage
Install from PyPI: pip install winfiletime
Example usage:
import datetime
import winfiletime
# Convert a datetime to a filetime
winfiletime.from_datetime(datetime.datetime(2009, 7, 25, 23, 0))
# 128930364000000000
# Convert a filetime to a datetime
winfiletime.to_datetime(128930364000000000)
# datetime.datetime(2009, 7, 25, 23, 0)
License
This project is hereby released in the Public Domain.
See the LICENSE file for the full CC0 license text.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
winfiletime-2.1.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file winfiletime-2.1.tar.gz.
File metadata
- Download URL: winfiletime-2.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.14.6-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fc30bd3ac05bff0894f9a07a4cf66247423203599bca276a9d53c450d0ceb29
|
|
| MD5 |
9021eeca1dd680ef478933a3b4581395
|
|
| BLAKE2b-256 |
36814952ed05c5635060cf9c750199da44420657aa1a4c45901128fb82db31e7
|
File details
Details for the file winfiletime-2.1-py3-none-any.whl.
File metadata
- Download URL: winfiletime-2.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.3 Linux/6.14.6-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81078a64f6ea3b3a9aa17e3a7d0806ad19d1f87b125935f94dab93172686b83d
|
|
| MD5 |
e19254515fd25c7aab4f167b2b485682
|
|
| BLAKE2b-256 |
05ef2c82f51f1f48a847a1c0c57980b0ccad643f610f0a3bd328d41d2d88af58
|