Add some date comparation functions