datepicker 101
-
gday, i realise its VB 101 again, but was hoping someone could direct me to where I could find out how to use the datepicker . The circumstance is that on my form I have two date pickers and I want to be able to calculate how many nights between the two dates chosen
-
gday, i realise its VB 101 again, but was hoping someone could direct me to where I could find out how to use the datepicker . The circumstance is that on my form I have two date pickers and I want to be able to calculate how many nights between the two dates chosen
The date picker is not the issue. Each date picker will return a DateTime. Subtracting one date time from another results in a TimeSpan, which will give you the value you need.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )