Script Title: Auto Greeting
Description: You can put this in your web page to greet your site visitors according to their local time.
Copy the following code into your <HEAD></HEAD> tags.<SCRIPT>
var curDateTime = new Date()
var curHour = curDateTime.getHours()
var greeting = "Good Evening"
if (curHour < 12 && curHour >= 0)
greeting = "Good Morning"
if (curHour >=12 && curHour < 18)
greeting = "Good Afternoon"
Enter your name and email address to have this script sent right to your Inbox for later viewing.