Lan Solo
Newcomer
I am having a heck of a time getting the DateDiff result (if it's even being calculated) to pull from the mlngNumberOfDays variable and display it in the text box. Any hints would be appreciated.
Thanks
Code:
'Here are the variables that are applicable to the above mentioned problem
Private mlngNumberOfDays As Long
Private mdatStartDate As Date
Private mdatEndDate As Date
'Here is the event handler
Private Sub Calculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click
mlngNumberOfDays = DateDiff(DateInterval.Day, mdatStartDate, mdatEndDate)
Thanks