The DateTime value to reference.
atBeginningOfMonth
atBeginningOfMonth(dateTime: DateTime): DateTime
Returns a new DateTime value that changes the Day value from the
input to the first day of the specified month. It also sets the Time value to 00:00:00.
The day and time in the input changes to 01T00:00:00.
Introduced in DataWeave version 2.4.0.
Example
This example changes the Day value within the DateTime input to the
first day of the specified month and sets the Time value to 00:00:00.
atBeginningOfMonth(localDateTime: LocalDateTime): LocalDateTime
Returns a new LocalDateTime value that changes the Day and LocalTime
values from the input to the beginning of the specified month.
The day and time in the input changes to 01T00:00:00.
Introduced in DataWeave version 2.4.0.



