Trying to remove last 3 characters of div text content. Div ID is time
Trying with this code so far
function Slice() {
var TimeString = document.getElementById("time").textContent = Result;
var Result = TimeString.slice (0, -3);
}
With not success result
Hope can help me