I have a question about convert a date in jquery.
I have a date response from api, the value is : "1596499223000", but I need convert it to a normal Date format.
I wrote code like this: newDate = new Date(array.events[i][index] + 5 * 60 * 60 * 1000);
but it said that the newDate is "Invalide Date".
Any Inputs are welcome!
But the way, for my another question "How to find an icon in fontawesome". I had figured out a way to solve to problem. But I forgot to post the answer. Since the question already closed. So I post it here. I created a new CSS item with the image as content.
- display: block;
- content: url(./images/icon.png);
- transform: scale(.25);
- height: 10px;
- width: 10px;