I have a datatable, that is extracted from browser. All the dates are parsed as “Date & Time” in table extraction. I would like to iterate these dates, compare those to current date, in order to know if the time difference is big enough.
I tried following this quidance… but for some reason it did not work. Here is guided that you could purely minus two datetime variables to get the difference. It seems simple… Should I still convert the dates from dt somehow, so that I can substract the current time from them? Any help is appreciated…
Thank you the quick reply. I figured that the dates would already be DateTime type since I chose “Date & Time” option from table extraction. Am I wrong with this? Are the dates still the type of string…? As iterating the datatable, i now tried like this (CurrentRow(“arrival”).Convert.ToDateTime - DateTime.Now)… this still wont do the trick