Timer option?

I am looking to request a timer option of sunrise and sunset instead of actual fixed times. is this possible?