var d = new Date();
var mm = d.getMonth()+1;
var yyyy = d.getFullYear();
var dd = d.getDate()
<!DOCTYPE html>
<html>
<body>
<%
dim h
h=hour(now())
response.write("<p>" & now())
response.write("</p>")
If h<12 then
response.write("Good Morning!")
else
response.write("Good day!")
end if
%>
</body>
</html>
沒有留言:
張貼留言