Assign current year


#1

Hi Guys,

how can we assign only current year in web year field so that no matter if we run bot in 2019 then it should automatically set year value to 2019


#2

System.DateTime.Now.Year.ToString


#3

You can use this in assign activity to the variable for which you want to assign the year