<%@ Language="C#" %> <html>
<head></head>
<body>
<%=DateTime.Now.ToString() %> <% if(DateTime.Now.Hour>12)
{%>
下午
<%
}
else
{
%>
上午
<%}%> </body>
</html>
复制出来直接套
相关lianjie:
https://zhidao.baidu.com/question/152697270.html
2023-08-11 12:31:22
<%@ Language="C#" %> <html>
<head></head>
<body>
<%=DateTime.Now.ToString() %> <% if(DateTime.Now.Hour>12)
{%>
下午
<%
}
else
{
%>
上午
<%}%> </body>
</html>
复制出来直接套
相关lianjie:
https://zhidao.baidu.com/question/152697270.html