Timeline for DateTimePrecise - current DateTime with millisecond precision
Current License: CC BY-SA 3.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2017 at 12:40 | history | edited | Community Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Nov 20, 2012 at 8:09 | vote | accept | Oleg Vazhnev | ||
Nov 20, 2012 at 8:09 | comment | added | Oleg Vazhnev | @ReacherGilt your article with Microsoft HighRes timer is pretty old (for .net 3.0). I assume nowadays Stopwatch can be used instead of it. | |
Nov 19, 2012 at 20:22 | answer | added | avip | timeline score: 1 | |
Jul 24, 2012 at 13:56 | comment | added | Oleg Vazhnev | @Groo I want current time with +- 100 ms precision, but difference between any two measurements should be with +-1 ms precision. Use case - i need to draw graph in matlab (+- 1 ms precision) and compare it with trading terminal (need current time, +-100 ms precision is fine). | |
Jul 24, 2012 at 10:13 | comment | added | vgru | You should describe your actual use case to get better suggestions, because I am pretty sure that this approach won't solve your problem. | |
Jul 24, 2012 at 10:13 | comment | added | vgru | @javapowered: I still don't see the need for millisecond precision for the current (inaccurate) time. Data which you receive from any data source should already be timestamped. If your PC is serving for some real-time capture from a hardware acquisition card with very low latency, I would see a (potential) need for this (although, again, you would calculate timestamps using sampling frequency, and it would still have nothing to do with current time). Adding ms to current inaccurate time provides no useful information IMHO, instead perhaps as some kind of a hack. | |
Jul 24, 2012 at 8:49 | comment | added | Oleg Vazhnev | @Groo because I need to see current time so I can go to trading terminal and to compare what I see on graph with what I see in terminal. | |
Jul 23, 2012 at 16:29 | comment | added | Reacher Gilt | Microsoft has an example of using the high-resolution timer. This timer provides accuracy to the millisecond. A sample implementation is available here: msdn.microsoft.com/en-us/library/aa964692(v=vs.85).aspx | |
Jul 23, 2012 at 9:27 | comment | added | vgru | Reading your comment below, one thing doesn't make sense: what does current time have to do with plotting a graph? | |
Jul 22, 2012 at 17:58 | comment | added | Leonid | You now need to be able to compare this instance to another or to any object, etc. so there are things like IComparable, IEquitable, ... | |
Jul 22, 2012 at 17:55 | review | Suggested edits | |||
Jul 22, 2012 at 20:30 | |||||
Jul 22, 2012 at 16:35 | history | tweeted | twitter.com/#!/StackCodeReview/status/227079553523261440 | ||
Jul 22, 2012 at 11:00 | answer | added | svick | timeline score: 1 | |
Jul 22, 2012 at 10:56 | history | edited | svick | CC BY-SA 3.0 |
formatting; added tag
|
Jul 22, 2012 at 10:25 | history | edited | Oleg Vazhnev | CC BY-SA 3.0 |
added 455 characters in body
|
Jul 22, 2012 at 10:18 | history | asked | Oleg Vazhnev | CC BY-SA 3.0 |