I have one start date and one end date , i want to generate the dates from these two given dates using vb scripting . For Example Start Date = 11/8/2020, End Date = 11/11/2020 Output = 11/8/2020 , 11/9/2020 , 11/10/2020 , 11/11/2020
Dim start As DateTime = DateTime.Parse("11/08/2020") Dim [end] As DateTime = DateTime.Parse("11/11/2020") Dim between As List(Of DateTime) = New List(Of DateTime)() While start <= [end] between.Add(start) start = start.AddDays(1) End While
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)