If you e.g. want to check if two timestamps are more than a year apart you just compare the difference to an interval of 1 year.