Skip to content

endOfMonth

endOfMonth(date) → datetime · Date & Time

Get the last moment of the last day of the month.

  • date (required): date or datetime
utlx
{
  monthEnd: endOfMonth(now()),
  invoiceDue: endOfMonth(parseDate($input.invoiceDate, "yyyy-MM-dd"))
}

Released under AGPL-3.0.