how to get real server time rather than local pc time for my javascript clock?

后端 未结 0 1776
陌清茗
陌清茗 2021-01-22 15:57
function setTime(){

  const now=new Date();

//   second hand

  const seconds=now.getSeconds();

  const secondDegree=((seconds/60)*360+90);

  const secondhand=docume         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题