Questions tagged as 'strtotime'

1
answer

How to turn Y-m-d to Unix timestamp at midnight in PHP?

Good afternoon, I need to convert the data from a form that comes in the form ex: 2018-02-13 to UNIX at midnight. If I convert normally using strtotime it comes right but with the time at 6:00 AM. Can anyone give a light? Thanks =)     
asked by 13.02.2018 / 17:46