Set first and last day of month in DatePicker

I'm having difficulty setting a start and end date for the current month in the datepicker on a custom page, I'd appreciate any help if possible.
Captura_de_tela_2024-02-28_103624.png
Solution
$this->form->fill([
  'dataInicio' => ...,
  'dataFim' => ...
]);
Was this page helpful?