Wednesday, 4 July 2012

Ex20: Display the current month and day in VBScript


<!DOCTYPE html>
<html>
<body>


<script type="text/vbscript">
document.write("Today's day is " & WeekdayName(Weekday(Date)))
document.write("<br />")
document.write("The month is " & MonthName(Month(Date)))
</script>


</body>
</html>

No comments:

Post a Comment