function InitDeadLine()
{ var t = new Date(); var t_s = t.getTime(); t.setTime( t_s + 1000 * 60 * 60 * 24 * 10 ); var y = t.getFullYear(); var m = t.getMonth() + 1; m = m < 10 ? ( "0" + m ) : m; var d = t.getDate(); d = d < 10 ? ( "0" + d ) : d; var h = t.getHours(); h = h < 10 ? ( "0" + h ) : h; var minute = t.getMinutes(); minute = minute < 10 ? ( "0" + minute ) : minute; var time = y + "-" + m + "-" + d + " " + h + ":" + minute; $( "#UAA008" ).val( time ); }