How do I make the time change after being teleported?

What are you attempting to achieve? (Keep it simple and clear)
I have this portal so when I go through it teleports me to a space themed area. I’d like it so when I’m teleported, the time automatically changes to night time so make create a better atmosphere.

What is the issue? (Keep it simple and clear - Include screenshots/videos/GIFs if possible)
Trouble changing the times.

What solutions have you tried so far? (Have you searched for solutions through the Roblox Wiki yet?)
I’ve looked on the Forum and also YouTube. I couldn’t find help anywhere unfortunately.

Here’s a photo that might help you understand what I’m trying to achieve:

The portal would be the red dot and I would like the sky to be dark but ONLY IN THIS AREA, not the rest of the map. The time should change back to daytime after you go back through the portal.

I’m basically looking for a local script that when you go through, it changes the time.

I believe you just set the ClockTime in game:GetService(“Lighting”), and then just change it back when the player goes through the portal again.