get clock in js code example Example: current time in javascript Click to copynew Date().toLocaleString(); >> "09/08/2014, 2:35:56 AM"