Washing your hair with apple cider vinegar will help get rid of dandruff overnight.
Although it might take a few washes of your hair with the apple cider vinegar to fully get rid of the dandruff depending on how severe the dandruff is.
Plain white vinegar also works pretty good as a home remedy for removing dandruff from your hair.