?
<script type="text/javascript"> var now = new Date(); var year = now.getYear(); var month =now.getMonth()+1; var day = now.getDate(); var hour = now.getHours(); var minute = now.getMinutes(); var second = now.getSeconds(); alert(year+"-"+month+"-"+day+" "+hour+":"+minute+":"+second); </script>