Forum Academy Marketplace Showcase Pricing Features

Date interval converted to natural language

Hi. I am setting up a date function that will repeat. For example, if a user wants a notification on the first Monday of each month, or every month on the 1st, etc.

I am using the standard date/time picker to get the user’s date selections. I’d like to display the repetition in natural language. For example:

“Repeats every week on Monday at 9:00 AM until 7/30/2023”

What is the best way to get the user’s input for this? And what is the best way to display the repetition in natural language, as in the example above?

Thank you!