Day Time Conversion

Hey, How to convert short day to a long day…

E.g. - Mon To Monday Or Wed To Wednesday

@souvik_c, Please try this: DateTime.Now.ToString(“dddd, dd MMMM yyyy”)

Please refer this link for more detail:

Invoke Workflow File: String was not recognized as a valid DateTime because the day of week was incorrect.

I am getting this error

@souvik_c, Can you please post code or more details?

DateTime.ParseExact(“Wed”, “ddd” , System.Globalization.CultureInfo.InvariantCulture).ToString(“dddd”)

i am expecting an output like - Wednesday

@souvik_c, got it. I don’t think there is short cut in this case. Probably Switch Activity should be your best choice.


Thanx for the reply