Based on Andrew Huberman’s scientific advices, it is best done as first thing in the morning. He especially said: get sunlight into your eyes. He mentioned that the glass of the windows’ filters around 50% of the beneficial lightrays, so it is best to do with open window or just go outside(ofc not in winter). It is way better to do it from behind a window than do nothing.