VBScript » Functions » Day

Version: 1.0

Syntax:
Day(Date)

The Day function returns the number of the current day of the month using any valid date expression as an argument.

You can also use the Date and Now functions as the argument.

Examples

Code:
<% =Day(Date) %>
Output:
16
Language(s): VBScript
Code:
<% =Day("6/26/1943") %>
Output:
26
Language(s): VBScript

See Also: