Hello ,
I do not know how to display a date in a Text box window.
I do have the date in variable in format : Date(1516910744000-0000) but is there a function or else to display it in human readable format ?
Will be very grateful for any help .
Regards,
Vasil
Hi Vasil,
Use toDateString() to convert the date into a human readable format.
See my code below
let d = new Date(1516910744000);
console.log(d.toDateString()); //Thu Jan 25 2018
I have copied this code to the PAGE … but it doesn’t appear anywhere. Where would I tell it to display in textbox 74 on my page?