Sunday, November 3, 2013

int x= dateTimePicker1 - dateTimePicker2

Hi,



You can try this



int val = picker1.Value.DayOfYear - picker.Value.DayOfYear;


Please mark the response as answers if it solves your question or vote as helpful if you find it helpful. http://thoughtorientedarchitecture.blogspot.com/

No comments:

Post a Comment