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.
Release files for winfiletime 2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| winfiletime-2.1.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| winfiletime-2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / winfiletime-2.1.tar.gz
| Download URL | winfiletime-2.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fc30bd3ac05bff0894f9a07a4cf66247423203599bca276a9d53c450d0ceb29
|
|
BLAKE2b-256 checksum How to use checksums |
36814952ed05c5635060cf9c750199da44420657aa1a4c45901128fb82db31e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.13.3 Linux/6.14.6-arch1-1
|
Release files / winfiletime-2.1-py3-none-any.whl
| Download URL | winfiletime-2.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81078a64f6ea3b3a9aa17e3a7d0806ad19d1f87b125935f94dab93172686b83d
|
|
BLAKE2b-256 checksum How to use checksums |
05ef2c82f51f1f48a847a1c0c57980b0ccad643f610f0a3bd328d41d2d88af58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.13.3 Linux/6.14.6-arch1-1
|