I have a web service that returns the current time in Decimal format. How I can convert it to a human-readable format using JavaScript.
Here is what documentation says. The web service returns dates and times as floating-point values. The fraction represents the time (0.5 is noon).
e.g.
0.5 is 12:00
0.681944 is 16:22