No. Garlic does not eliminate parasites in a single day.
Many viral messages circulate promising «deworm yourself within 24 hours» raw garlic, but there is no solid scientific evidence to support the claim that garlic cures a parasitic intestinal infection within a day (or that it replaces medical treatment).