Dear All,
I have local variable local!month_selected, which will be having values of month in "mmm" format. Is there any inbuild function to get the month format as "m",
(E.g) Input value will be "AUG" and expected output should be "8"
Please help me.
Discussion posts and replies are publicly visible
Hi Sunil
use the date function ""month.
month( local!month_selected)
Hi Sunil Mohan,
There is no inbuilt function for your scenario as I know.
One solution is we can use display value function to achieve this as mentioned below. Check if this approach works for your case.
Hi Sunil, your problem can be solved with exactly below code.
load( local!date: "01-" & ri!mon & "-" & year( today() ), { month(todate( local!date),{}) })
Thanks.