Day                                                                                                            Function

 

DAY(theDate as Date)

 

Description

Returns an integer which is the day value from the Date variable theDate.

 

Example

Dim theDate as Date

Dim result as Integer

theDate=DateVal(1995,6,23)

result=Day(theDate) 'will calculate result=23