Dropdowns with Months or Weeks


I am attempting to create dropdown menus that display months or weeks starting a month before the user’s Creation Date.

i.e., User joins August 5th, 2023.
The month dropdown menu displays July 2023, August 2023, September 2023.
The week dropdown menu displays July 2, 2023 (or July 2-8, 2023), July 9, 2023, July 16, 2023, etc.

What is the best way to create these dropdowns?


User Creation Date: rounded down to months

1 Like

Thanks, that got the month dropdown up and running.

There should be a rounded down to weeks option.

Thanks, yes, that’s a great option. I realized, though, that users would probably want the week to start on Sunday/Monday, which is harder to program with random Creation Dates. Weighing whether to just offer the month option for the MVP.

This topic was automatically closed after 70 days. New replies are no longer allowed.