SyntaxFix
Write A Post
Hire A Developer
Questions
The above program will generate that time zone error.
After your database name you have to add this: ?useTimezone=true&serverTimezone=UTC. Once you have done your code will work fine.
?useTimezone=true&serverTimezone=UTC
Best of luck :)