based on the data below for a 25 day hospital stay:

1)patients who received antibiotics 7
mean of patients who received antibiotics 11.57
standard deviation 8.81

patients who did not receive antibiotics 18
mean 7.44
standard deviation 3.7

is the duration of hospital days affected by whether a patient received antibiotics or not?

Use method noted on your last post. Even if the difference is significant, it does not necessarily mean that antibiotics cause longer stays.