Hello,
I am trying to convert a date which I pull from SAP using get text into a generic value variable called lv_ValidEndDate. I then try to convert into a real date value so I can compare with today’s date
lv_ValidEndDate_real = lv_ValidEndDate.ToDateTime(“mm/dd/yyyy”)
I found that lv_ValidEndDate gets a date like ‘10/31/2020’, it’s been converted to date as 1/31/2020 which makes it earlier than today’s date Hence doing this in if activity:
lv_ValidEndDate_real <= lv_Today_real
tells me that lv_ValidEndDate_real earlier but it’s supposed to be later than today. How do I correct the syntax to enable an accurate conversion to date value?