[admin] Adding support for starttime and endtime in UI.