Date and time function

Hi there,

Can anyone please make me understand the “Date and time function” with the simple example.
Thanks in advance!

Regards,
Hari

1 Like

HI @Hariprasad

A simple example for Date and time function is to get the previous date

DateTime.now.AddDays(-1).ToString("MM/dd/yyyy)

This will print the date as 08/23/2019

Hope this help :slight_smile:

1 Like

@Hariprasad
go through below link
https://docs.uipath.com/studio/docs/date-and-time-variables

Thanks

2 Likes

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