How can I convert following date in epoch:
1293683278
to following readable date:
2010-06-23 09:57:58
You can use moment.js for this.
moment.unix(1293683278).format('YYYY-MM-DD HH:mm:ss');