I'm using the date () function because the comment is accurate to the second, so the date (' y-m-d h:i:s ', Time ()) is used.
The first time directly put the code inside is the date (' y-m-d h:i:s '), but interception is not the current time, so not successful, and then Baidu a bit found to add a time () in the back line.
In other words, the date (' y-m-d h:i:s ', Time ()) can intercept the current.
Then I use the form to pass the comment content, so at first I want to use the form item to pass the time, so try a lot, use input also not.
Finally, in Baidu asked, said the first to upload the form to the processing page, and then the processing of the time on the page to intercept the database inside the gold.
That's how it worked out.
It is a way for small partners wishing to have the same doubts.
When commenting in PHP, write down the time and save it in the database.