Notes To generate a timestamp from a string representation of the date, you may be able to use strtotime() . 2018-01-07 Admin