Get Current Unix Timestamp using Python

time module

from time import time

timestamp = int(time())

print(timestamp)

Leave a Comment

Cancel reply

Your email address will not be published.