ask in the following thread if you can use the calendar functions to achieve the time(11pm) to sunrise using their Edge Driver.