simplified calculation when offset's are needed to calculate twlight