Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

I'm working on a filter feature which goes by week. It currently indexes by the week number (1-52), but visually, I want it to show the date of the week's sunday, as in "Week of Sunday 8/13/05"

I had made a calculation field that found today's date, then finds the day of the month. Then it subtracts the difference between the current day of the week and sunday (1). The problem is that if today is Friday the 2nd, the Sunday of this week would be in the previous month. That would mean having to distinguish between leap years and non leap years, and how many days each month has.

Is there any easier way to do this?

This formula:

date - DayOfWeek ( date ) + 1

returns the Sunday of the date's week.

  • Author

Wow, that simple. I didn't realize that you could subtract from a date format. That does return a date string right?

It returns a date (provided the calculation field is set to return a Date result).

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.