Auto-translated
Yes, this is done through a new day trigger, which is automatically called at the beginning of each turn, except for the first one. Regarding lighting specifically: first, all lighting resources that will be used in the map must be added to it in these tabs -

Next, each lighting element needs to have a script name added to its settings (it should be in one of them, but I don't remember exactly, so I'm writing it in both). -

And then you need to write a script using the SetAmbientLight() function. It has 4 parameters:
-script name of the lighting
-level at which the lighting changes (GROUND/UNDERGROUND)
-use a delay when changing the lighting (nil - no, 1 - yes)
-delay duration in seconds
In the end, if, for example, your goal is to change the lighting every day, the code will be approximately like this (using a 5-second change as an example):
curr_light = 'day'
function NewDay()
if curr_light == 'day' then
SetAmbientLight('night_lighting_name', GROUND, 1, 5.0)
curr_light = 'night'
else
SetAmbientLight('day_lighting_name', GROUND, 1, 5.0)
curr_light = 'day'
end
end
Trigger(NEW_DAY_TRIGGER, 'NewDay')