If I've gone without sunlight for a while I'll notice a difference in less than 30 minutes.
Normally it takes a couple hours for peak effects to be noticable.
Might be common knowledge but:
Amino acids/iodine rich foods/ vit c, k, and D3 as well as probiotics all increase the effectiveness of sunlight.