Make the manager.py windows compatible

On windows, you can't use strftime('%s'), so I changed it to 
time.mktime((dt).timetuple())
which is compatible