|
Returns a whole number between 1 and 31, inclusive, representing the day of the month.
Day(date)
date
Any expression that can represent a date. If date contains Null, Null is returned.
The following example uses the Day function to obtain the day of the month from a specified date:
Dim MyDay
MyDay = Day("October 19, 1962") ' MyDay contains 19.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.