Python time

This is how you can use time in Python:

import time

vartime = time.strftime("%Y-%m-%d-%H-%M")
Advertisements
Python time