????:<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script> function date(){ var DA = new Date(); document.write(DA.getF
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script>
function date(){
var DA = new Date();
document.write(DA.getFullYear()+"年"+DA.getMonth()+"月"+DA.getDate()+"日");
}
</script>
</head>
<body>
<button onclick="date()">點擊</button>
</body>
</html>
?? ???:查無此人?? ??:2019-05-05 09:13:19
???? ??:完成的不錯。日期時間一般是php處理,js的日期時間,用在選擇框。繼續(xù)加油。