I have a task with a trigger:
At 0:00 every day - after triggered, repeat every 1 hours for a duration of 1 day.
And inside my application I read the time this way:
dateTimeUtcNow = DateTime.Now;
And sometimes, very rarely, dateTimeUtcNow shows the time a few milliseconds before full hour like 2015-11-11 14:59:59,914
The server runs on Windows Server 2012 R2, I could accept this on home version but not production.
Why? Is this a bug? How can I prevent this?