Extensions on the dates classes