```javascript
var datetime = (new Date).toISOString().split('.')[0].replace('T', ' ');
```