Added in tested functions for date/time comparisons