Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Elapsed time


  • Please log in to reply
2 replies to this topic

#1 nturpin77

nturpin77

    Advanced Member

  • Members
  • PipPipPip
  • 42 posts
  • LocationNewfoundland, Canada

Posted 06 April 2011 - 02:09 PM

Is there an easy way to get an elapsed time? Ive read too many different code snippets and now have myself crosseyed. Im trying to just use DateTime.Now at the begining of the code and then subract it from DateTime.Now at the end but its not working too well for me atm. Thanks N

#2 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 06 April 2011 - 02:17 PM

Would Stopwatch class fit your needs?

#3 nturpin77

nturpin77

    Advanced Member

  • Members
  • PipPipPip
  • 42 posts
  • LocationNewfoundland, Canada

Posted 07 April 2011 - 10:50 AM

I got it to work with the Stopwatch Class. Thanks!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.