<script>var date=new Date();document.write(date.getFullYear()+"-"+(date.getMonth()+1)+"-"+date.getDate())</script>