Hi All,
My Requirement is i need to get the total number of days in month by passing month value as integer
for Example January—0
…December as 11
Any Suggestions
Thanks,
Srinivas
Hi All,
My Requirement is i need to get the total number of days in month by passing month value as integer
for Example January—0
…December as 11
Any Suggestions
Thanks,
Srinivas
Hi @SrinivasaR8416,
You can write you own function/decision table for this, which takes “monthYear” as integer and “CurrentYear” as integer.
You only need to account for Feb days which changes based on leap years.(See below img)
better to write a decision table for all month except Feb and get value from decision table if is not feb.
If it is Feb then you can check for leap year and set the value accordingly.
Hope it helps!
Thanks, Ankit
There is no such OOTB function like that but you can configure Decision Table as shown below and you can use it as per your requirement
Regards,
Chandra Kanth.
below link have addressed similar issue.