Date.getUTCMonth()下面是参数的详细信息:
<html><head><title>JavaScript getUTCMonth Method</title></head><body><script type="text/javascript">var dt = new Date();document.write("getUTCMonth() : " + dt.getUTCMonth() ); </script></body></html>这将产生以下结果:
getUTCMonth() : 7