I'm curious about manipulating time in Python. I can get the (last modified) age of a file using the os.path.getmtime()
function as such:
import os.path, time
os.path.getmtime(oldLoc)
I need to run some kind of test to see whether this time is within the last three months or not, but I'm thoroughly confused by all the available time options in Python.
Can anyone offer any insight? Kind Regards.