Hi I am getting somer confusing results using the following:
I have 2 Datetime pickers I can select date and time on both which is what I want to do, however when using the following code
it provides the following output '09/07/2023 13:30' but the datetime picker is showing '9 Jul 2023 06:00'
I am confused, I'm obviously doing something wrong but what, some assistance please?
Regards
David
I have 2 Datetime pickers I can select date and time on both which is what I want to do, however when using the following code
Datetime Picker:
Dim FirstDateAndTime As String = DateTime.Date(DatePicker1.Ticks) & " " & DateTime.Time(DatePicker1.Ticks)
Dim LastDateAndTime As String = DateTime.Date(DatePicker2.Ticks) & " " & DateTime.Time(DatePicker2.Ticks)
it provides the following output '09/07/2023 13:30' but the datetime picker is showing '9 Jul 2023 06:00'
I am confused, I'm obviously doing something wrong but what, some assistance please?
Regards
David