I've read that withdrawal lasts about as long as the affair lasts WITH NO CONTACT. This was pretty accurate for me.

Continued contact keeps resetting the withdrawal period.