1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2025-05-31 08:31:41 +05:30
Files
gists/python-programming/get_unix_epoch_seconds.py

11 lines
308 B
Python

#!/usr/bin/env python3
# get_unix_epoch_seconds.py
#
# Author: Intel A80486DX2-66
# License: Creative Commons Zero 1.0 Universal or Unlicense
# SPDX-License-Identifier: CC0-1.0 OR Unlicense
print(__import__("math").floor(__import__("datetime").datetime.now().\
timestamp()))