Determines the month of a date value.
Month ( date )
Argument |
Description |
---|---|
date |
The date from which you want the month |
Integer. Returns an integer (1 to 12) whose value is the month portion of date. If date is null, Month returns null.
This statement returns 1:
Month(2004-01-31)
These statements store in start_month the month entered in the SingleLineEdit sle_start_date:
integer start_month
start_month = Month(date(sle_start_date.Text))