Skip to content

day

day(date) → number · Date & Time

Extract the day-of-month component (1-31) from a date.

  • date (required): a date or datetime value
utlx
{
  dayOfMonth: day(parseDate("2026-05-15", "yyyy-MM-dd")),    // 15
  today: day(now())                                          // current day of month
}

Released under AGPL-3.0.