How do you create a time-lapse on darktable?

Depends on what you want to do, exactly. FFMPG will stitch all your images and output a movie. There are also many graphical editors, such as open shot and kdenlive.