DaysInMonth Function

  • Updated

The DaysInMonth function returns the number of days in the month.

Syntax 1

 

The DaysInMonth function returns the number of days in the month.

 

DaysInMonth()

Syntax 2

 

The DaysInMonth function returns the number of days in the month.

 

DaysInMonth(date)

 

 

Arguments:

 

 

 

date

Date - A date.

Remarks

  • Example: DaysInMonth("2005-1-28") returns 31.
  • Example: DaysInMonth() returns 30.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.