Concern regarding convert integer to string

hi
I write this expression in assign activity CINT(Month).ToString but it return integer value.So how i can convert integer month to string month.

1 Like

Can i see the value of month the you are converting @maitri

cheers :smiley:
Happy learning :smiley:

1 Like

Hi @maitri

Try the below code
New DateTime(now.Year,CINT(Month),1).ToString("MMM")

1 Like

not working.

Sure i have pass 12 value.

2 Likes

@maitri

How did you assign that code? Did you get any error?

Hi,

try Below in your assign activity :
DateAndTime.MonthName(12).ToUpper

use your variable instead of 12.
Thanks,

No not throw any error but i pass 12 value in Month argument then it return 12.

Try it in Log message activity just copy paste the code