I believe there is a legal definition of night but I can't remember what it is. There is sunset, then there is at least one type of twylight which is called nautical twylight, and night officially starts so many minutes before or after one of the official twylights. Try some sort of almanac. Sorry I can't be more precise.