date/time selection functionality added