Today +2 minimum date in Date Picker

Hi,

How can I set Today’s date +2 to the minimum date of a UiPath Apps Date Picker?

I have tried the Today function however, I can’t figure out how to add two days to the logic.

Thanks

Hi @stch
Assign YourDate = today.AddDays(2)
Change today → now if you want the current hour/min/second included.

As for your second question, you should use System.DateTime. I’m not sure what the DateAndTime object is.

Hello,

DateAndTime.Now.AddDays(2).Tostring(“dd-MM-
yyyy”).ToString+vbNewLine+today.AddDays(2)

Regards
RB

HI @stch

You need to add them in your studio process and then call them in App

Checkout this Threads

Regards
Sudharsan

@Sudharsan_Ka ,

Please have a look at the details and attachment. you can do such operation in process and return the date to apps.

DateFormat_Apps.pdf (253.3 KB)

Thanks,
Ak

Hi @Sudharsan_Ka @Arvind_Kumar1

Thanks - however I need it to be interactive without calling any process as the users of the App does not have a attended license.

So I guess it is not possible for now.

Yes it is not possible to give directly @stch

Yes, you are correct, but this will come soon.

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