Hi,
In my VB.net form, I have 4 DateTimePicker controls.
2 of these used to capture dates and other 2 to capture times.
i.e.
Start Date
Start Time
End Date
End Time
1. How can I set this control to capture times? I have changed the format property to 'time', but at run time, it shows as dates.
2. How can I calculate difference between days (i.e.. EndDate-StartDate) and differences between Hours (EndTime-StartTime)?
Any help will greatly appreciated.
In my VB.net form, I have 4 DateTimePicker controls.
2 of these used to capture dates and other 2 to capture times.
i.e.
Start Date
Start Time
End Date
End Time
1. How can I set this control to capture times? I have changed the format property to 'time', but at run time, it shows as dates.
2. How can I calculate difference between days (i.e.. EndDate-StartDate) and differences between Hours (EndTime-StartTime)?
Any help will greatly appreciated.