SyntaxFix
Write A Post
Hire A Developer
Questions
Use System.DateTime.Now.ToUniversalTime(). That puts your reading in a known reference-based millisecond format that totally eliminates day change, etc.
System.DateTime.Now.ToUniversalTime()