Adding code to allow selecting session time from datetimepciker widget.