See http://velocity.apache.org/tools/releases/1.4/javadoc/org/apache/velocity/tools/generic/ComparisonDateTool.html
The idea is to keep the same velocity variable ($datetool) but pointing to the ComparisonDateTool class.