DateTime span

  • Thread starter Thread starter JezB
  • Start date Start date
Subtract one from the other.
The result of this operation is a TimeSpan object (operator - (less) is
overloaded)...
 
DateTime1 - DateTime2 results in a TimeSpan structure. This structure allows
you the represent the timespan in hour, seconds, ticks days. etc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top