I have a code that makes an `ajax` call from a `php file`.
This `php file` returns some data from the database as `json`.
The data contains a column with `timestamp` type and this how it looks :

```
2015-10-24 18:04:28

```

but I want to convert this format to look like this :

```
1445724268000

```

I tried to use `Date.parse()` but when I `log.console` it I'm getting `NaN`