Current date and end_date

how to find
Current date how to assign activity
e.g current date = System.DateTime.Now.ToString(“yyyy-MM-dd HH:mm:ss.000”)
e.g End Date how to assign Activity how to possible in end date ? formate in uipath

Hi @nikhil.patil

Current Date

Datetime.Now.Tostring(“yyyy-MM-dd HH:mm:ss.000”)

End Date mean Last Date of the Current Month Correct ?

(New DateTime(Today.AddMonths(1).Year,Today.AddMonths(1).Month,1)).AddDays(-1).toString("yyyy-MM-dd HH:mm:ss.000")

Regards
Gokul


I have run Process and i want my start time and end time of process execution store in database

Hi @nikhil.patil

Have a look on the thread

Regards
Gokul