Generally, 3-4 weeks of increasing dietary restriction followed by a 12 hour fast the day prior to testing. A detailed breakdown of all preparation requirements can be downloaded here.