How many days of warranty do you have when buying a used car from a dealer?

Some dealers offer a warranty but most do not.
If there is no warranty written down there is no warranty at all.