what happens is that I am trying to save the time as follows:
$hoy = date("Y-m-d H:i:s");
The day saves it correctly, while the time saves it wrong, since an example that I do, on my computer says that it is 07:36 am while in the form (which is connected with PHP and saving in PhpMyAdmin) It saves me a schedule with an advantage of 5 hours...
And I couldn't fix it...
If you help me, thank you very much.
You must define the time zone:
You have to put the Timezone. It is capturing the time of your server.
You can try the following: