Text this: Daylight savings calculation technique for smart buildings