var difftime=new Date()-new Date(2010,2,11,4,51,38); var serverTime = new Date(2010,2,11,4,51,38);