Date and Day change

Hi All.
I need to change the date in the following format. If the date is 11-02-2020 i need to change to Tuesday,11 Feb.
Could any one help me

1 Like

hi, you can check this link for more date time formats
https://www.dotnetperls.com/datetime-format-vbnet

Hi @soumi_soumiya

Try this one

Date.Today.ToString(“ddddddd,dd MMM”)

image

Regards,
Kommi Jeevan.

1 Like

Fine
hope this expression would help you resolve this
if the input is stored in a variable named strinput
then in assign activity

stroutput = Datetime.ParseExact(strinput.ToString,“dd-MM-yyyy”,System.Globalization.CultureInfo.InvariantCulture).ToString(“dddd, dd MMM”)

Cheers @soumi_soumiya

1 Like

Thanks for your Help…
The date I am getting as an input so it might be any date how could i convert it

1 Like

Your Date.ToString(“ddddddd,dd MMM”)

1 Like

Thank You…
What you All gave was a right solution thank you

1 Like

Cheers @soumi_soumiya if you find it useful mark it as solution and close the thread.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.