I have to different datasets (A and B) and I want to do a calculation, which requires matching the datasets by date.
My problem is that there are some dates in A, which aren't included in B. Then I want to find the date in B closest to the date in A.
E.g: date in A is 2005-03-03 , but in B there is only available: 2005-03-02 and 2005-03-04. Now I want to match 2005-03-03 (A) with 2005-03-03 (B). How can I do this?
Thank you in advance!