I expect to give it the year and the month and have it return the first tuesday.
hello @Bruce_Axtens , thanks for asking
I wonder what options you tried before you posted the question, here you find the details:
below in a few steps how you get there
- I created sub tables with the weekdays and months I used as look-ups
- I created the first date of the respective month
- I filtered on the the first Tuesday, but It can be any weekday
this part creates the date
Format("{1}/{2}/{3}",thisRow.Months.MonthNumber,1,thisRow.Year.ToText())
this is the filter
Sequence(thisRow.date,thisRow.date.EndOfMonth(0)).filter(CurrentValue.Weekday().Contains(thisRow.Name.USA_Weekdaynumber)).First().ToDate()
enjoy, Christiaan
@Christiaan_Huizer : Would you mind checking if
Anyone with the link
is set on Can view
(we can’t access/see your embed at the moment
)
thx @Pch , it is done.
this part of Coda does not feel intuitive yet for me.
No problem @Christiaan_Huizer !
And yes, this step in the sharing process is a bit “too well hidden”, thus, easily forgettable/counter intuitive .