1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-11-09 21:32:02 +05:30

Python: add get_unix_epoch_seconds.py

This commit is contained in:
Intel A80486DX2-66 2024-06-28 14:02:34 +03:00
parent 6b0cde0aa2
commit 59a9721afa
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -0,0 +1,9 @@
#!/usr/bin/python3
# get_unix_epoch_seconds.py
#
# Author: Intel A80486DX2-66
# License: Unlicense
print(__import__("math").floor(__import__("datetime").datetime.now().\
timestamp()))