Hi UiPath,

Hi UiPath,

Is there a way to update the string format of the method below to DD.MM.YYYY?

  • Now.AddDays(1).ToShortDateString.ToString

Right no its given me the output: 08/23/2022

My goal is: 23.08.2022

Thanks!

Hi @alvin.c.apostol26

Try this

Now.AddDays(1).ToString("dd.MM.yyyy")
1 Like

Hi @alvin.c.apostol26

How about this ? Alternative

DateTime.Now.AddDays(1).ToString("dd.MM.yyyy")

Regards
Gokul

1 Like

Hey!

Try this:

Now.AddDays(1).ToString("dd.MM.yyyy")

Regards,
NaNi

Hello @alvin.c.apostol26

You can do this directly using the Modify Date Activity in UiPath.
You can add any dates or change the format.

In “ToString” you can always put in brackets the date format you want your string to be

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