month

Get the ‘month’ value from a date or datetime.

Parameters:

No. Type Comments
1 date, datetime or duration Value to extract month from

No parameters accepted.

Returns:

short(1,12) - A short value representing the month.

Usages:

  • month( d:date) : short
  • month( d:datetime) : short