returns epoch time which you can use https://www.epochconverter.com/ to change
This will convert to milliseconds, remove the * 1000 to leave it as seconds
The second line of code does the same thing but with the time module
import datetime
epoch = (int(datetime.datetime.timestamp(datetime.datetime.now()))) * 1000
import time
current_time = int(time.time() * 1000)