SkillAgentSearch skills...

Winfiletime

Windows filetime <-> Python datetime conversion ⛺

Install / Use

/learn @jleclanche/Winfiletime
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

filetime.py

A Python module to convert datetime to/from a Win32 FILETIME structure.

Reference algorithm

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.

Related Skills

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated9mo ago
Forks3

Languages

Python

Security Score

82/100

Audited on Jun 24, 2025

No findings