怎样在HTML中用JS显示当前时间
											怎样在HTML中用JS显示当前时间怎样在HTML中用JS显示当前时间										
					
	
				
											var nowDate=new Date();
document.write(nowDate);
当然,这个没有控制显示的样式,你要让显示出来的内容变成你想要的样式的话,可以是
document.write(nowDate.getYear()+"年"+(nowDate.getMonth()+1)+"月"+nowDate.getDate()+"日 "+nowDate.getHours()+":"+nowDate.getMinutes()+":"+nowDate.getSeconds());										
					
	
	
	
	      


 
											





 
	    

 
	