This pattern is used a lot, we could create a `local_dtstring` helper function for this.