Time display does not advance

If you are using only minute then replace by this

setTimeout(automaticTime,60000);

Which means function will call for every one minute;