Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Comparing Dates

$
0
0

Hi,

 

Apologies for the beginner question. I'm trying to compare three dates (ensure one date is between two other dates). All dates are in the format YYYY-MM-DD and have selected type as Date when i joined the two tables. However i keep getting an error message when i try to use a simple '<' or '>' sign. I also tried using DateTimeDiff function to just get the days diff as positive or negative as the test function. regardless i keep getting an error and it could have something to do with the If statement that wraps around it. 

 

Would anyone mind posting the syntax to get this done?

 

Thanks!

 


Viewing all articles
Browse latest Browse all 4999

Trending Articles