<html>
<script language="javascript">
function get_day()
{
var getDay=new Date();
if(getDay.getDay()>0 && getDay.getDay()<6)
{
alert("Its a Week Day");
}
else
{
alert("Its Week End!!!") }
}
</script>
<body>
<input type="button" onclick="get_day()" value="Show Day" />
</body>
</html>
Others
Languages
Frameworks
Web / Design
Mobile Technology
Sql & Technology
R4R