Answers for "how to set custom weeks on date time picker c#"

C#
2

c# datetimepicker set weeks after today

datetimepicker.value = DateTime.Today.AddDays(7 * weeks);
Posted by: Guest on July-13-2021
2

c# datetimepicker set weeks before today

datetimepicker.value = DateTime.Today.AddDays(-7 * weeks);
Posted by: Guest on July-13-2021

Code answers related to "how to set custom weeks on date time picker c#"

C# Answers by Framework

Browse Popular Code Answers by Language