1
I need the user to enter a date and this date is sent to the database as timestamp, example
Insert: 25/12/17 in the field
I want it to reach the database as 1514160000 which means "Mon, 25 Dec 2017 00:00:00 GMT"
I haven’t tried anything because I don’t know what and how each function works in PHP
I appreciate any hint
Your answer is in the correct format (m/d/y), but will bring an unexpected result to the format (d/m/y) that AP has.
– Gabriel Heming
Thank you for scoring @Gabrielheming. I was already preparing the issue :)
– Samuel Fontebasso
Perfect! Thank you brother
– Giovany Henrique