1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-11-14 02:15:53 +05:30
gists/python-programming/oneliners/get_unix_epoch_seconds.py

10 lines
217 B
Python
Raw Normal View History

2024-06-28 16:32:34 +05:30
#!/usr/bin/python3
# get_unix_epoch_seconds.py
#
# Author: Intel A80486DX2-66
# License: Unlicense
print(__import__("math").floor(__import__("datetime").datetime.now().\
timestamp()))