Automatic Day/Night Mode (theme) switch when it is actually night

How? Can you show the way to make this please?