<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<title>时间</title>
<script type="text/javascript">
$(function(){
initDate();
});
//格式化日期函数
function formateDate(date){
if(date instanceof Date){
var time=date.getMonth()+1;
var day=date.getDate();
if(day==31){
var myDate = new Date(date.getFullYear(),date.getMonth(), 0);
date.setDate(myDate.getDate());
time=time-1;
if(time==0){
time=time+1;
}
}
if(time&
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<title>时间</title>
<script type="text/javascript">
$(function(){
initDate();
});
//格式化日期函数
function formateDate(date){
if(date instanceof Date){
var time=date.getMonth()+1;
var day=date.getDate();
if(day==31){
var myDate = new Date(date.getFullYear(),date.getMonth(), 0);
date.setDate(myDate.getDate());
time=time-1;
if(time==0){
time=time+1;
}
}
if(time&