SyntaxFix
Write A Post
Hire A Developer
Questions
You are repeating the y,m,d.
y,m,d
Instead of
gmdate('yyyy-mm-dd hh:mm:ss \G\M\T', time());
You should use it like
gmdate('Y-m-d h:m:s \G\M\T', time());