DATE & TIME WITH MESSAGE

<html>
<head>
<title>date formatetitle>
head>
<body>
<script language="javascript">
var t=new Date();
var m=t.getMonth()+1;
var d=t.getDate();
var y=t.getFullYear();
var h=t.getHours();
var a=Date();
document.write(a + "<br><br>");
if(h<12)
{
document.write("Good Morning");
}
else if(h>=12 && h<18)
{
document.write("Good Afternoon");
}
else if(h>=18)
{
document.write("Good Evening");
}
else if(h>=22)
{
document.write("Good NIght");
}
document.write("<br><br>TODAY IS " + d + "-" + m + "-" + y);
script>
body>
html>



1 comments:

Anonymous said...

Bulks with the advertisers are primarily private home owners, letting managers and property agents.
Investors are there to help the entrepreneur and to gain a benefit from their investment in the
entrepreneurs company. The business degree raises one's social standing:
in simple terms, it opens to suit your needs doors that might have otherwise
remained closed for you.

Also visit my webpage :: http://www.airborn.com/

Post a Comment

Labels