Hi everyone, i have issue in creating a variable for date and time, please retify my query. @Krishna_Raj
- Go to the Variables panel at the bottom of the UiPath Studio.
- Click on the “Create Variable” button.
- Name your variable (e.g.,
myDateTime
). - Set the variable type to
DateTime
. For this click on the dropdown of DataType → Click Browse For Types → Type Syste.DateTime → Click save.
Regards
1 Like
currentDateTime = DateTime.Now
Variable Nmae:currentDateTime
Datatype:System.DateTime
Click Browse For Types in Variable Panel and then type System.Datetime
Hope it helps
@sumanth_kumar1
step 1: Go to the Variables panel at the bottom of the UiPath
step2: Click on the “Create Variable” button.
step3: Name your variable as datetime
Step 4: go to variable panel Set the variable type to DateTime
. For this click on the dropdown of DataType → Click Browse For Types → Type System.DateTime
output:
Here is how you can declare a DateTime type variable.
I would also advise to get the basics clear.
Create Variables Tutorial in Studio | UiPath.
Thanks,
Ashok
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.