Welcome to UiPath community
-
You use System.DateTime.Now to get the current system date and time.
-
You can use an Assign activity in UiPath to assign this value to a variable. However, this method may not give you the exact logon time, but rather the current time.
Check out this thread
Regards
Gokul