this is a websdk control implementing tempus dominus datetime picker in xojo
the web datepicker built-in xojo is quite poor. so I made another one using the Tempus Dominus javascript library available at https://getdatehttps://getdatepicker.com/
it has been tested with Xojo 2023r11 and 2023r2, they both work either with bootstrap 4 or 5
you can have a datepicker like this :
![Capture d’écran 2023-09-16 à 15 02 50](https://private-user-images.githubusercontent.com/92308733/268449282-78babbaa-ce79-430c-b3aa-05db78079a0c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzODczNjIsIm5iZiI6MTcyNTM4NzA2MiwicGF0aCI6Ii85MjMwODczMy8yNjg0NDkyODItNzhiYWJiYWEtY2U3OS00MzBjLWIzYWEtMDVkYjc4MDc5YTBjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAzVDE4MTEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM2M2I2YWE4NmUzZWMyZmViMmNhYmQ1MWFkYmEyODliYjA0ZGM5ZWRkZDBiMzU5MTkxYzEwZGVkNGQzYjQ3OTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2SP2FPR8wLHda1TPg495BTDm9UodGWgU92DnZt8l_WM)
have the week numbers
![Capture d’écran 2023-09-16 à 15 04 02](https://private-user-images.githubusercontent.com/92308733/268449292-eef410c9-399b-4422-abf5-f4f30822b015.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzODczNjIsIm5iZiI6MTcyNTM4NzA2MiwicGF0aCI6Ii85MjMwODczMy8yNjg0NDkyOTItZWVmNDEwYzktMzk5Yi00NDIyLWFiZjUtZjRmMzA4MjJiMDE1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAzVDE4MTEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThkNDM0N2NkZTEwNWJiMWE2NjRmYjFhYWMxZDdjMWRhMTEwMmUwYmQxNjk0ZjJhOTJmMmY1OTYwMTFhOTAzNWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FFmQjWodkISye_ZRzrOnqk-ooiTZnffMWgUcAU21Dq0)
select a range of dates
![Capture d’écran 2023-09-16 à 15 04 47](https://private-user-images.githubusercontent.com/92308733/268449319-d127f759-0b40-4281-b4a2-33b164d6509e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzODczNjIsIm5iZiI6MTcyNTM4NzA2MiwicGF0aCI6Ii85MjMwODczMy8yNjg0NDkzMTktZDEyN2Y3NTktMGI0MC00MjgxLWI0YTItMzNiMTY0ZDY1MDllLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAzVDE4MTEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ1YzJlZWQ4MWIzMWRhNjY4NzViMjUyMTNlYWE4ZWUzN2Y0MmQ2MjQ1M2I0MjNkMTc4YWQzYjg2Yjg3MWU2ZWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.cg2L8fhs0kpm-kpGjyu3e2KGw0TpMn35q-37U9mnZCM)
select multiples dates
![Capture d’écran 2023-09-16 à 15 05 19](https://private-user-images.githubusercontent.com/92308733/268449338-aa83812e-10bd-493f-9ea8-a4004c0ee22d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzODczNjIsIm5iZiI6MTcyNTM4NzA2MiwicGF0aCI6Ii85MjMwODczMy8yNjg0NDkzMzgtYWE4MzgxMmUtMTBiZC00OTNmLTllYTgtYTQwMDRjMGVlMjJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAzVDE4MTEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZlYmVkMGQ2NDM2YmIyZDQ3NjRkMmQ5NDIwOWEyNzU3NDBmNGU2ZjIwOGVhYzQxOWVhMWMwMTFiNzhmODIwMTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.hbVw80irmOF8RuZT6pZs7lgvC1-eDVkNW0qM6Aay7rA)
select date and time side by side
![Capture d’écran 2023-09-16 à 15 06 16](https://private-user-images.githubusercontent.com/92308733/268449388-2b5a5b84-bd33-482b-aad0-6cd1194a7ed3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzODczNjIsIm5iZiI6MTcyNTM4NzA2MiwicGF0aCI6Ii85MjMwODczMy8yNjg0NDkzODgtMmI1YTViODQtYmQzMy00ODJiLWFhZDAtNmNkMTE5NGE3ZWQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAzVDE4MTEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTljNDY5ZTc3NjdlYTg0YzQwMzRjNDgwM2UyMGU0MjFkNmVjM2FhN2M0NzM3YzQ2Zjg2MmNkYTA2NGYwNTg3MzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UYVt9fC7ZiD_F81oaLiizNG4WvbvU7kqaVu0Hjuog2I)
all options are available inside xojo IDE
![Capture d’écran 2023-09-16 à 15 07 10](https://private-user-images.githubusercontent.com/92308733/268449458-1a20f688-cd70-4ec7-b524-69f8e70d80a3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUzODczNjIsIm5iZiI6MTcyNTM4NzA2MiwicGF0aCI6Ii85MjMwODczMy8yNjg0NDk0NTgtMWEyMGY2ODgtY2Q3MC00ZWM3LWI1MjQtNjlmOGU3MGQ4MGEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAzVDE4MTEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMyZDA4OWZhNmE4ZWUxZmJiOTM2OTJlODNmMTljNzRkZTFlNDE5MDIwNDk3OWE0YzM3ZTBmY2EwMDM4MDAzMTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.c7FuG9km1DPks1AwfvvaRpQ1jvx3yU5-RgqdPMgcIoo)