Looking for a way to truncate a timestamp DateTime value (e.g. result of now()) to minutes with preserving the time zone i.e. something like this:
From: |2023-10-04T10:48:07.975905Z|
To: |2023-10-04T10:48:00.000000Z|
This of course can be done by first transforming DateTime to String, then applying string manipulations and then transforming back to DateTime. But it would be quite ugly, I guess.
So, looking for more elegant way of achieving this result.
Mule provides the similar function atBeginningOfHour that's doing truncation on an hour level.
I'm looking for a similar function but for minutes.
Mule DW version is 2.4.0 (the latest).
atBeginningOfHourthat you mention uses exactly that