In C#, if I call DateTime.UtcNow twice in the same process, is it guaranteed that the second call will yield a later time than the first call?
The background is we have an application that logs start time and end time of each task by calling DateTime.UtcNow, and for one task we observed the end time was even earlier than the start time. Of cource our app is complex enough so that before deeper investigation I cannot rule out other possibilities but at least would like to understand if it is by design possible for a later call of DateTime.UtcNow to return an earlier time.
Thanks in advance.