COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button
VB SCRIPT DAY FUNCTION
Day Function
The Day function returns a number between 1 and 31 that
represents the day of the specified date.
Syntax
Day(date)
Example
<!DOCTYPE html>
<html>
<body>
<script language="vbscript" type="text/vbscript">
document.write(Day("2013-06-30"))
</script>
</body>
</html>
When you save it as .html and execute it in Internet Explorer,
then the above script will produce the following result:
30