I’ve been asked a number of times how you can take a date in Coda and convert it to the date of the next Wednesday, Friday, or Monday, and so on. This conversion is especially useful when you’re setting deadlines, due dates, or even when you just want to know what date of the start of the week is, for example, seven weeks from now. It’s
, by the way.
While this is doable natively in Coda today, there are a couple points of friction:
The formula to find a relative date isn’t particularly easy to remember unless you do it often. Here’s an example of the formula:
To select the day of the week, you have to provide Coda an integer between 0 and 6. And I can never remember whether 0 is a Saturday, Sunday, or Monday, so I always have to check my work.
This process was always slower than I’d like, which is why when I got access to Coda’s Pack Studio, I knew I wanted to turn this formula into a user-friendly Pack.