Add the datetimewidget.