To get the date and Month

Hi @sarathi125

I have used the below condition in assign activity. But I’m unable to get all the months. Could you please help me with this.

System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.MonthGenitiveNames.ToArray

Thanks and regards,
Krishna

Hi,

I guess Month is String[] type variable.
So perhaps you should write String.Join(",",Month) in MessageBox, for example.

Regards,

1 Like

just visualizing Yoichi’s suggestion ( he was a liitle tuime faster with the answer)

and here the days:

1 Like

@ppr

It’s Working. Thank you

You cannot display the contents of an array like that.

Try string.Join(“,”,Month) where ,(comma) is the months separator in the message box