How to get the name of the day against any entered date? The responder entered the date 1/1/2024, and the day of this date will be calculated automatically
I assume by this you mean “Mon”, “Tue”, …?
Take a look at this: Calculating week-of-year for a date - Showcase - ODK Forum
Although the form is specifically intended to determine the week-of-year, it does calculate the day-of-week in the process…
Actually, looking back at the code (I originally wrote this some 5 years ago!) I suspect you just need
weekday = format-date(${date},"%a")
See format-date() for details.
2 Likes