Hello, I’m doing uipath developer foundation course, I understand completely all subjects given about uipath so far except for some functions, specifically , dateTimes functions.
In exercises from video demonstration or practices, a lot of functions are applied, so, I annotate those functions to review it later. My problem is with DateTime functions, there are so many functions and I dont get it entirely.
I’m writing this post after doing Practice 2 - Lists &DateTimes because without those functions I was totally lost.
DateTime function Examples:
-DateTime.ParseExact(InputDate, “dd.MM.yyyy”, nothing) where “InputDate” is a varible, but I dont know what is “nothing”.
-TimeSpan variable type
-Datetime.Now.Subtract(new DateTime(Datetime.Now.Year, TmpDate.Month, TmpDate.Day))
Subtract is for calculating the difference between of days.
“New datetime” is for creating a new date, just as New list…(I guess)
“Datetime.Now.Year” Datetime is a variable, but Now.Year I guess is for identifying the current Year.
“TmpDate.Month” TmpDate is a variable, and .Month I guess is for identifying variable’s month.
“TmpDate.day” Same as .month
My query is, how can I learn those functions beforehand? those functions were totally unknown to me before that exercise, so I couldn’t do it by myself