Month Function

  • Updated

Returns the month for a given Date or DateTime.

Syntax 1

 

Returns the month for a given Date or DateTime.

 

Month()

Syntax 2

 

Returns the month for a given Date or DateTime.

 

Month(dateTime)

 

 

Arguments:

 

 

 

dateTime

DateTime - A DateTime or Date.

Remarks

  • Example: Month("2005-1-28") returns 1.
  • Example: Month() returns the current month.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.