We help IT Professionals succeed at work.


VBdotnet2005 asked
I have a small  VB app that processes emails. It runs every 15 mins. I want to create a lable and put the time it will run. For example, right now it is  10:00 pm, I want a lable to says, Next time it starts at 10:15 pm. Can I use Timespan?
Watch Question

You don't need to do, the DateTime object has an Add method that you an use.

Something like this
Dim newTime As DateTime = DateTime.Now .AddMinutes (15.0)
Top Expert 2008
you can also use this

NewTime = DateAdd (DateInterval.Minute,15,Now)

Explore More ContentExplore courses, solutions, and other research materials related to this topic.