The Periodic Notes plugin enables template stuff (including date math) that handles this correctly. I don’t know how I learned this because it’s not mentioned in the plugin’s README. (Maybe I learned from ryanjamurphy’s post? Daily notes (next-previous - #10 by ryanjamurphy)
Examples:
- Link to day before daily note:
[[{{date-1d: YYYY-MM-DD}}]]
- Link to day after daily note:
[[{{date+1d: YYYY-MM-DD}}]]