Day()

Syntax

Result = Day(Date)
Description
Returns the day component of the specified date.

Parameters

Date The date value from which to extract the day.

Return value

Returns the day component. The result is always between 1 and 31.

Example

  Debug Day(Date(2002, 10, 3, 0, 0, 0))  ; Outputs '3'.

See Also

Date(), Year(), Month(), Hour(), Minute(), Second()

Supported OS

All

<- Date() - Date Index - DayOfWeek() ->