No dependency implementation of getting array of dates between two dates