R
Roger Twomey
I am doing something wrong here but I cannot see it.
I have the following lines of code:
datNextNotificationDateTime = Me.RunStartTime.AddMinutes(intContactInterval)
WriteLog("NextNotificationDateTime is: " +
datNextNotificationDateTime.ToShortDateString)
So if I run the code line like this:
datNextNotificationDateTime = Me.RunStartTime.AddMinutes(intContactInterval)
(where intContactInterval = 15)
I get datNextNotificationDateTime as the exact same (unchanged, original)
Me.RunStartTime value. It does not appear to be adding 15 minutes.
(the WriteLog function is writing to the EventViewer application log.. this
is a service so I cannot throw an error and see it.)
Any ideas how this could be possible??
I have the following lines of code:
datNextNotificationDateTime = Me.RunStartTime.AddMinutes(intContactInterval)
WriteLog("NextNotificationDateTime is: " +
datNextNotificationDateTime.ToShortDateString)
So if I run the code line like this:
datNextNotificationDateTime = Me.RunStartTime.AddMinutes(intContactInterval)
(where intContactInterval = 15)
I get datNextNotificationDateTime as the exact same (unchanged, original)
Me.RunStartTime value. It does not appear to be adding 15 minutes.
(the WriteLog function is writing to the EventViewer application log.. this
is a service so I cannot throw an error and see it.)
Any ideas how this could be possible??