I would like to automate a date field to always be the upcoming Thursday. I've tried variations of dayOfWeek and nothing works.
Can someone suggest some smartvalues to try. Thank you.
Hi @Jeanne Schock and thanks for your question.
Can you try this smart value:
{{now.withNextDayOfWeek(["THU"])}}
Sets the date to the next matching day. If you're already on that day, then it will return the next week. You can use the following values: MON, TUE, WED, THU, FRI, SAT, SUN.
You can following this withNextDayOfWeek.
Hope this helps. If the issue is resolved, you can vote and accepted for this comment.
Best,
Murat Seven
Thank you. I was *so* close. I think I was just missing the correct "THU" value.
I did have to change your solution slightly:
{{now.withNextDayOfWeek("THU")}}
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.