monthnum

monthnum(d: date) 🡒 number, const pure function

Returns the month of the year (1-12) for the date passed as an argument.

show summary "" a1a3 with
  monthnum(date(2020, 1, 1))
  monthnum(date(2020, 6, 15))
  monthnum(date(2020, 12, 31))

See also

User Contributed Notes
0 notes + add a note