Format a Date as a string that just contains the time portion e.g. 5:31 pm
Date
string
const date = new Date()const text = localisationService.formatTime(date)// Display text Copy
const date = new Date()const text = localisationService.formatTime(date)// Display text
Format a
Dateas astringthat just contains the time portion e.g. 5:31 pmExample