How long to harden off plants

I have some plants I started indoors under a 250 w HPS light with 24/7 light. Now it’s time to grow outdoors but I am not sure how long to harden them off. Yesterday was perfect, cloudy and rainy. Today is sunny and I have a shady spot where they can get like 4 hours of light. I am wondering if that is too strong.