<%@ language="javascript" %> <% var d=new Date() var h=d.getHours() Response.Write("") Response.Write(d) Response.Write("") if (h<12) { Response.Write("早上好") } else { Response.Write("下午好") } %>
") Response.Write(d) Response.Write("
效果会显示在右边 Create by 软晨网(RuanChen.com)