Hi, I'm working with materialize css, and obviously JS, I want to convert a string whose format is this: Mar 12, 2018
I want to convert that to Date so I can store it in the DB as Date.
Hi, I'm working with materialize css, and obviously JS, I want to convert a string whose format is this: Mar 12, 2018
I want to convert that to Date so I can store it in the DB as Date.
I already solved it with this:
$this->formatoFecha = strtotime($this->edad);