how to get date and time firom time module python code example
Example: time module in python
import time
seconds = time.time()
print("Seconds since epoch =", seconds)
import time
seconds = time.time()
print("Seconds since epoch =", seconds)