I've got two String-Arrays which contain Values in the following order: Date (Year-Month-Day) and Time (Hours-Minutes-Seconds).
Here's the code:
sDateSplitArray1 = Split(sDate1, "-") ' sDateSplitArray1(1)=Year, ...(2)=Month, ...(3)=Day
sTimeSplitArray1 = Split(sTime1, "-") ' sTimeSplitArray1(1)=Hour, ...(2)=Minutes, ...(3)=Seconds
sDateSplitArray2 = Split(sDate2, "-")
sTimeSplitArray2 = Split(sTime2, "-")
Now how can I calculate the absolute difference between both in minutes? I just want to check if there are more than 30 minutes between the two.