xxxxxxxxxx
<html>
<body>
<script type="text/vbscript">
Function myfunction()
myfunction=Date()
End Function
document.write("Today's date: ")
document.write(myfunction())
</script>
<p>A Function procedure can return a result.</p>
</body>
</html>