How do i remove lights from a render without deleting them from my viewport?

So im working on my first ever high poly work/render and im learning everything for the first time.

im trying to choose between a night scene with artificial lights and a day scene with sun light. I have set up both in my scene.

problem is, when i render, all my lights are in render, when i say just want the sun or just want the night lights.

yet i need to keep them in my viewport because i dont want to place them again.

how do i make cycles render only the lights i want it to?

Use the icons on the right hand side of the layout

Capture1

Clicking the eye icon next to an object or light will make the object visible or invisible in the viewport.

Doing the same with the camera icon will make the object or light visible or invisible in the render.

Alternatively - you could use render layers

Right… I just stopped the viewpoint.

Stupid of me.

Thanks.