Loading

Wednesday, April 7, 2010

ASP VB Script - Determine Morning or Afternoon

' ASP Determine Morning or Afternoon
<%

dim intHourOfDay
intHourOfDay = hour(now())
if intHourOfDay < 12 then
    Response.Write("Good Morning World!<br><br>The hour of the day is ") & intHourOfDay
else
    Response.Write("Good Afternoon World!<br><br>The hour of the day is ") & intHourOfDay
end if
%>

SHARE TWEET

Thank you for reading this article ASP VB Script - Determine Morning or Afternoon With URL https://x-tutorials.blogspot.com/2010/04/asp-vb-script-determine-morning-or.html. Also a time to read the other articles.

0 comments:

Write your comment for this article ASP VB Script - Determine Morning or Afternoon above!