The nice thing about melatonin is that it's not addictive. About three days, and the body finds its pattern. As the article mentioned, fasting during the correct times would work but that + a low dosage of melatonin 30 minutes before the desired bedtime would probably work even better.