I have this list that involved start and end date. I want if different is 1 day merge the range for example
2024/03/06-2024/03/15
2024/03/16-2024/03/25
2024/04/05-2024/04/20
i want this result:
2024/03/06-2024/03/25
2024/04/05-2024/04/20
this list is dynamic
i don’t have any idea for code
New contributor
sara mln is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.