for example my input is 0323 and i need output march-2023 (or) 03-2023
Discussion posts and replies are publicly visible
a!localVariables( local!input: "0323", local!month: tointeger(index(local!input, { 1, 2 }, {})), local!year: tointeger( concat("20", index(local!input, { 3, 4 }, {})) ), text( date(local!year, local!month, 1), "m-yyyy" ) )
You can change the value of "m" to "mmm" to print the 3 letters of the month's name