This topic is locked

Dropdown that generates Weeknumbers

3/6/2019 6:27:12 AM
PHPRunner General questions
I
itmann author

Hi everybody,
i am working on a project and I need a little help with the following issue:

i have a date field in my database called (CalWeek) which stands for Calendar Week.

In the add/edit page this field should appear as a dropdown which generates the next 5 weeks automatically starting from today.
Example:
Assuming today's date is 01.03.2019

The values in the dropdown should be:

11-2019

12-2019

13-2019

14-2019

15-2019
Any ideas how to get this done?

I'd appreciate any advice..