Hello
I’m using ionic calendar plugin
I got event of calendar and log it
it has a date like 1536883200000…
how can I convert it?
I can’t find answer …
it
Hello
I’m using ionic calendar plugin
I got event of calendar and log it
it has a date like 1536883200000…
how can I convert it?
I can’t find answer …
it
The number is an unix timestamp: https://stackoverflow.com/questions/847185/convert-a-unix-timestamp-to-time-in-javascript
var date = new Date(1536883200000);
Fri Sep 14 2018 02:00:00 GMT+0200 (hora de verano de Europa central)