The "%s" format is not specifically supported by datetime.strftime and was being passed up to the system interpreter. This was failing on Windows with the error message "Invalid format string."
From testing in Windows powershell, this PR resolves Issue #338.
datetime.timestamp() was another valid way to get Epoch time in Python3, but it is not compatible with Python2. I think time.time() is sufficient in all cases.
The "%s" format is not specifically supported by datetime.strftime and was being passed up to the system interpreter. This was failing on Windows with the error message "Invalid format string."
From testing in Windows powershell, this PR resolves Issue #338.
datetime.timestamp() was another valid way to get Epoch time in Python3, but it is not compatible with Python2. I think time.time() is sufficient in all cases.