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:
parent
6b0cde0aa2
commit
59a9721afa
9
python-programming/oneliners/get_unix_epoch_seconds.py
Normal file
9
python-programming/oneliners/get_unix_epoch_seconds.py
Normal 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()))
|
Loading…
Reference in New Issue
Block a user