Is there a method in C# that returns the UTC (GMT) time zone? Not based on the system\'s time.
Basically I want to get the correct UTC time even if my system time is
Instead of calling
DateTime.Now.ToUniversalTime()
you can call
DateTime.UtcNow
Same thing but shorter :) Documentation here.