var hm=new Date()-new Date(2016,5,4,23);var tian=parseInt(hm/(24*60*60*1000)), shi=parseInt(hm/(60*60*1000)%24), fen=parseInt(hm/(60*1000)%60), miao=parseInt(hm/1000%60);