cannabis has grown outdoor for thousand years so, for real it can grow outdoor from start to finish.
now to prevent potential temperature, sun, wind, early pest damage(s) you want to wait a little:
"Seedlings intended for outdoor growing should be kept by a sunny window for the first week or two after emerging from the soil.
When they have grown their second or third set of serrated leaves (after the the round cotyledons that initially emerge from the seed) seedlings are usually hardy enough to flourish in direct sunlight.
If outdoor temperatures are suitable, seedlings may be acclimatised to direct sunlight by giving them progressively longer daily exposure to outdoor conditions.
Starting with about three hours outside, at the sunniest time of day, seedlings can be given an extra hour of outside exposure each day, so that within about two weeks they can be left outdoors permanently."
source:
https://sensiseeds.com/en/blog/when-can-seedlings-be-put-under-lights-in-the-sun/
Happy growing