DayOfMonth Function

Top  Previous  Next

Returns the day of the month

 

Syntax

 

value = DayOfMonth( expression )

 

Parameters

expression

 

any expression that resolves to a date in the format YYYYMMDD

 

 

 

returns

 

the day of the month (1 to 31) for the given date

 

Examples

 

day = DayOfMonth( 20021215 )        ' returns 15