Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript Day Function

VBScript Day Function


VBScript reference manual Complete VBScript Reference Manual


The Day function returns a number between 1 and 31 representing the day of the month.

Syntax

Day(date)

Parameters Description
date Required. Any expression representing a date.

Example

Example

The example above produces the following output:

16

Try it »


VBScript reference manual Complete VBScript Reference Manual