There is a lua script called adjust_time.lua in GitHub - wpferguson/extra-dt-lua-scripts: Extra lua scripts for darktable that can't or wont be included in the distributed darktable-org/lua-scripts, that can be used to adjust the EXIF date time in the database.