You can use the parseDateTime(UTC) function for this.
See the ref.guide for more information
https://docs.mendix.com/refguide/parse-and-format-date-function-calls