Getting started Community Training Tutorials Documentation APIs, AI & Tools
The DateTime value to reference.
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.
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.
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.