Function Greeting()
If Hour(Now) < 12 Then
Greeting = "Good Morning"
ElseIf Hour(Now) < 18 Then
Greeting = "Good Afternoon"
Else
Greeting = "Good Evening"
End If
End Function
%>
Good Morning, Good Afternoon, Good Evening
If Hour(Now) < 12 Then
Greeting = "Good Morning"
ElseIf Hour(Now) < 18 Then
Greeting = "Good Afternoon"
Else
Greeting = "Good Evening"
End If
End Function
%>
Good Morning, Good Afternoon, Good Evening
, the current time is
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10294527/viewspace-124716/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10294527/viewspace-124716/