0
How to convert Milleseconds to date and time in Java script?
5 Answers
+ 7
Use the Date() constructor to convert milliseconds to a date, e.g. const date = new Date(timestamp) .
The Date() constructor takes an integer value that represents the number of milliseconds since January 1, 1970, 00:00:00 UTC and returns a Date object.
Maybe This will help
+ 2
Sixface
There will be different format type for date, you just need to parse in that format which you want.
+ 1
Sixface
Miliseconds can be convert in Date?
0
Yes
0
I want date and time below format.
Jan 01 1997 04:30 PM