<html>
<body>

<script type="text/vbscript">
document.write("<br><br>")
document.write(WeekDayName(1))
document.write("<br>")
document.write(WeekDayName(2))

document.write("<br><br>Get the abbreviated name of a weekday:<br>")
document.write(WeekDayName(1,true))
document.write("<br>")
document.write(WeekDayName(2,true))

document.write("<br><br>Get the current weekday:<br>")
document.write(WeekdayName(weekday(date)))
document.write("<br>")
document.write(WeekdayName(weekday(date), true))
</script>

</body>
</html>
Published in: VBScript
Download

Related snippets