SyntaxFix
Write A Post
Hire A Developer
Questions
You've got the syntax all wrong:
cursor.execute (""" UPDATE tblTableName SET Year=%s, Month=%s, Day=%s, Hour=%s, Minute=%s WHERE Server=%s """, (Year, Month, Day, Hour, Minute, ServerID))
For more, read the documentation.