@paul53 hi Paul Thank you for quick response. it works
this is my code thank you for helping: (two different formats for testing)
// ---
sensor.neulcT = (new Date(msg.payload[i].lc)).toLocaleTimeString();
sensor.neulc = (new Date(msg.payload[i].lc)).toLocaleString();
// ---