DateFormulas is a answer. Build end of year date using dateformulas, and compare. Or use system table 'Date', which hold all dates, filter on it, find last day of year and compare. You can even use dmy2date and date2dmy functions to build endofyear date - and compare then.
Answers
For example, if I want to check if the two dates are different:
The answer of MBerger works too
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav