for example my input is 0323 and i need output march-2023 (or) 03-2023
Discussion posts and replies are publicly visible
Hello theramganeshvempati,
Try this code and change it according to your requirement. this might do the work. you can also wait for replies with some easy steps from experts.
a!localVariables( local!value:"0323", local!split:a!forEach( items: enumerate(len(local!value))+1, expression: local!value[fv!item] ), local!month:tointeger(concat(local!split[1],local!split[2])), local!year:tointeger(concat("20",local!split[3],local!split[4])), { text(date(local!year,local!month,1),"mmm-yyyy") } )
thanks for the answer