Winfiletime
Windows filetime <-> Python datetime conversion ⛺
Install / Use
/learn @jleclanche/WinfiletimeREADME
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.
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
