perhaps try the
VB Code:
Dim wys As Long = DateDiff(DateInterval.WeekOfYear, DateTimePicker1.Value, DateTimePicker2.Value)
use the value of your dtps... hope this helps...
|
Results 1 to 5 of 5
Thread: date time picker problemThreaded View
|
Click Here to Expand Forum to Full Width |