test time function for date_within_two_months (Util)