中文
spain 08 : 00
china 15 : 00
$(function(){ var d,time,year,hour, minute,second,hour2;//time2为西班牙时间 Number.prototype.addZero = function(){ var that = this; return that < 10 ? "0" + that : that; //当时间数值小于10时,在数值前加一个 0; } var setTime = function(){ d = new Date(); time = d.getTime(); hour =21; minute = 32; minute2 = minute + 1; second = d.getSeconds(); hour2 = hour < 6 ? 24 + hour - 6 : hour - 6; //西班牙时间与北京时间相差6个小时 var chinaHour = document.getElementById("china_h"), chinaMinute = document.getElementById("china_m"), spainHour = document.getElementById("spain_h"), spainMinute = document.getElementById("spain_m"); chinaHour.innerHTML = hour.addZero(); chinaMinute.innerHTML = minute.addZero(); spainHour.innerHTML = hour2.addZero(); spainMinute.innerHTML = minute2.addZero(); } setTime(); setInterval(function(){setTime();},60*1000); })

Careers

  • 5
  • 4
  • 3
  • 2
  • 1
JOIN US

We do not have any available position at the moment. Please drop your CV at:wangjunting@gemdale.com We will contact you back when vacancy is available.