摘要:
<script type="text/javascript"> function show(){ var today = new Date(); var year = today.getFullYear(); var month = today.getMonth() + 1; var lastDay = new Date(year, month, 0); //次月第一天的前一天 alert( "当前月第一天:" + year + "-" + month + "-01" + "\n" 阅读全文