Plays a role in the regulation of the circadian clock. Modulates the period length and phase of circadian gene expression and also regulates expression and interaction of the core clock components PER1/2 and CRY1/2. Seems to have an immune potentiation function.