Added date election support.