Good day everyone.
Is there a way to find the last iteration of a for-loop?
I have a for loop that creates a list of used dates and time in a column but i need to add a different time to just the end date in the list.
The end date needs to be different than the start date of the next list or it will be counted twice and it only HAS to be a counted once.
Basically i need the last iteration number of the loop to change the time.
Thanx in advance.
Is there a way to find the last iteration of a for-loop?
I have a for loop that creates a list of used dates and time in a column but i need to add a different time to just the end date in the list.
1/1/2024 | 3/1/24 | 1/1/24 14:30:00 | start date1 |
3/1/24 | 6/1/24 | 2/1/24 14:30:00 | list of between dates created by loop |
3/1/24 10:30:00 | end date1 | ||
3/1/24 14:30:00 | start date2 | ||
4/1/24 14:30:00 | list of between dates created by loop | ||
5/1/24 14:30:00 | list of between dates created by loop | ||
6/1/24 10:30:00 | end date2 |
Basically i need the last iteration number of the loop to change the time.
Thanx in advance.