I have in my database (mysql) that I work with xampp, a Registration Façade field that is automatically fed with a CURRENT_TIMESTAMP . With PHP I consult the current date and time with the sentence date ("Y-m-d H: i: s") .
All this in order to show the time that has passed since the registration made. The problem is that date ("Y-m-d H: i: s") is giving me a date much higher than the current one, with difference in hours.
Does anyone know why this happens? or am I using wrong date ("Y-m-d H: i: s")?