7 lines
200 B
Python
7 lines
200 B
Python
from __future__ import annotations
|
|
|
|
|
|
def unix_timestamp_to_windows(timestamp: int) -> int:
|
|
"""Convert a Unix timestamp to a Windows timestamp."""
|
|
return (timestamp + 62135596800) * 10_000_000
|