In the UK when I was flying IRL “night” was between 30 mins after sunset to 30 mins before sunrise i.e. when the sun was below the horizon at sea level. Not sure if it’s still the same now.
Never really gone into checking in the sim, I just use the times in my sim logbook.