I’m writing a script to concatenate info from lots of fields, including a Time field, and insert it into a Notes field. The line with data from the Time field includes the date 1st Jan, 1970, before the time. I need it to include the time of day, and no date.
You can use standard Javascript date and time functions for this: https://www.w3schools.com/jsref/jsref_obj_date.asp:
var date_id = 'fld-xxxx';
var d = record.getFieldValue(date_id);
console.log(d.toLocaleTimeString());