How to use Timer

Created at 14 Dec 2016, 03:40
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
TH

thekingdomofchen

Joined 08.12.2016

How to use Timer
14 Dec 2016, 03:40


I started the timer using:   Timer.Start(TimeSpan.FromMilliseconds(1));

I then want to get the time of the timer.  

But, 

var interval = TimeSpan.FromMilliseconds(1);

shows only 

00:00:00.0010000

over and over. 

 

The timer is definitely started, but how can I retreive the timer time to use? 

 

 

 


@thekingdomofchen