Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Returns the numeric day of the month for a given Date or DateTime expression.
DAY(dExpression | tExpression)
Return Values
Numeric
Parameters
- dExpression
Specifies a date from which DAY( ) returns a day of the month. dExpression can be a date literal, a Date-type variable, an array element, or a date field. - tExpression
Specifies a date or time from which DAY( ) returns a day of the month. dExpression can be a DateTime literal, a DateTime-type variable, an array element, or a DateTime field.
Remarks
DAY( ) returns a number from 1 through 31.
Example
STORE {^1998-03-05} TO gdBDate
CLEAR
? CDOW(gdBDate) && Displays Thursday
? DAY(gdBDate) && Displays 5
? 'That date is ', CMONTH(gdBDate), STR(DAY(gdBDate),2)
See Also
CDOW( ) | DOW( ) | SET FDOW | SET FWEEK | SYS( ) Functions Overview