I want to compare date type value with dateTime type value ,how is it possible?

Hi i have a dropdown where i am selecting a date value from calendar , I have a date field in cdt with datetime type value .How can i make a comparision?

  Discussion posts and replies are publicly visible