Do we have a function to get the current Date & Time in UiPath Apps

I want to set a label to System.DateTime.Now
Or I want to get the first date of the month etc.

Hi @Sarmad_Nadeem

Try to Use this Expression
date.Now.AddDays(-(date.Now.Day-1)).Date.ToString(“dd.MM.yyyy”)

Regards
Gokul

image

Hi @Sarmad_Nadeem

  • By default, DateTime values are stored in UTC (check out the documentation to learn more about process argument types).
  • Can you share the screenshot

Regards
Gokul

Hi @Sarmad_Nadeem

We won’t be able to define that in front end with UiPath Apps
But still the inout value can be fetched through arguments, passing that to UiPath workflow and change the format we need

Hi @Sarmad_Nadeem!

@Gokul001 is correct, you can’t use an expression to get the current date in Apps right now - you have to return this from a process. We’ve heard feedback about this limitation and will be adding a Date function in the next month or two.

1 Like

Thanks a lot. Much appreciated.
Please direct me to where I can add feedbacks and suggestions for UiPath Apps.

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