<script type="text/javascript"> var dataTime=new Date(); alert(dataTime); alert(dataTime.getYear()+"-"+(dataTime.getMonth()+1)+"-"+dataTime.getDate());
</script>