I have simple WPF application, and I need to let user choose value from Calendar and then work with the day only. For example, user chooses date 06/08/2020, so I need to take the "06" value and assign it to double variable, then work with it in some mathematical equations.
Unfortunately I did not find on the interner, how to exactly do it. When the user enters number into textbox, its quiet easy, you just state the variable and put the TextBox.Text as a value, like double x = double.Parse(TextBox1.Text);
Can you guys help me on this?