Skip to content

day

Day-of-month component of a date (1–31).

v = day(serial_number)

Returns the day-of-month from the date.

day(date(2026, 4, 28)) % 28
  • year — Year component of a date.
  • month — Month component of a date (1–12).
  • weekday — Day of the week.