SyntaxFix
Write A Post
Hire A Developer
Questions
Use the time module:
epoch_time = int(time.time())