Right now I have to calculate this manually. Would be nice to have the dt returned to the passed function in some way instead.