Timers Dates Expiry Dates Next Dates Previous Dates Counter Controls Tools Controls

DateTimeControls to Generate Next Dates

Syntax (generate next dates without time):
for (int i = 1; i <= 10; i++)
{
GenDates = GenDates + DateTimeControls.RequestDateNextDate_NoTime(i);
}


Output:
2019.07.17
2019.07.18
2019.07.19
2019.07.20
2019.07.21
2019.07.22
2019.07.23
2019.07.24
2019.07.25
2019.07.26

DateTimeControls to Generate Next Dates

Syntax (generate next dates with time):
for (int i = 1; i <= 10; i++)
{
GenDates = GenDates + DateTimeControls.RequestDateNextDate_WithTime(i);
}


Output:
2019.07.17 12:43:34
2019.07.18 12:43:34
2019.07.19 12:43:34
2019.07.20 12:43:34
2019.07.21 12:43:34
2019.07.22 12:43:34
2019.07.23 12:43:34
2019.07.24 12:43:34
2019.07.25 12:43:34
2019.07.26 12:43:34

DateTimeControls to Generate Next Months

Syntax (generate next months without time):
for (int i = 1; i <= 10; i++)
{
GenMonth = GenMonth + DateTimeControls.RequestDateNextMonth_NoTime(i);
}


Output:
2019.08.16
2019.09.16
2019.10.16
2019.11.16
2019.12.16
2020.01.16
2020.02.16
2020.03.16
2020.04.16
2020.05.16

DateTimeControls to Generate Next Months

Syntax (generate next months with time):
for (int i = 1; i <= 10; i++)
{
GenMonth = GenMonth + DateTimeControls.RequestDateNextMonth_WithTime(i);
}


Output:
2019.08.16 12:43:34
2019.09.16 12:43:34
2019.10.16 12:43:34
2019.11.16 12:43:34
2019.12.16 12:43:34
2020.01.16 12:43:34
2020.02.16 12:43:34
2020.03.16 12:43:34
2020.04.16 12:43:34
2020.05.16 12:43:34

DateTimeControls to Generate Next Years

Syntax (generate next years without time):
for (int i = 1; i <= 10; i++)
{
GenYears = GenYears + DateTimeControls.RequestDateNextYears_NoTime(i);
}


Output:
2020.07.16
2021.07.16
2022.07.16
2023.07.16
2024.07.16
2025.07.16
2026.07.16
2027.07.16
2028.07.16
2029.07.16

DateTimeControls to Generate Next Years

Syntax (generate next years with time):
for (int i = 1; i <= 10; i++)
{
GenYears = GenYears + DateTimeControls.RequestDateNextYears_WithTime(i);
}


Output:
2020.07.16 12:43:34
2021.07.16 12:43:34
2022.07.16 12:43:34
2023.07.16 12:43:34
2024.07.16 12:43:34
2025.07.16 12:43:34
2026.07.16 12:43:34
2027.07.16 12:43:34
2028.07.16 12:43:34
2029.07.16 12:43:34
DateTimeControls Function is Developed and Designed by DOMAINSROCK INDIA