I hope to select only the year and month here, without choosing the day. How can I do this? If this is not possible, please tell me how to write a formula that automatically saves it as the last day of the chosen month.
$j = date;
$dayMonth = datetime\month($j);
$dayYear = datetime\year($j);
$result = string\concatenate($dayYear, '-', $dayMonth);
fieldExmple = $result
Comment