Issue with datetext function with different locale settings

A Score Level 1

Hi, 

The datetext function returns incorrect date with different locale settings. Please refer below: 

datetext(ri!dateInput, "dd MMM YYY") 

Input Date: 12/29/2021 - English/United states  as locale -> 29 Dec 2022 

Input Date: 29/12/2021 - English/United Kingdom as locale -> 29 Dec 2021 - this is correct. 

The dateInput is sent as a rule input of type 'Date' to the expression rule. 

  Discussion posts and replies are publicly visible

Parents Reply Children