How long does it take for the smell of a dead rat to go away?

How long does it take for the smell of a dead rat to go away?