C# DateTime.UtcNow is returning the wrong value

Viewed 2509

I'm having an issue that I'm having a hard time to figure out, which is the result of DateTime.UtcNow. In My local machine when I print it gives me the right time, but in my server it's 3 hours ahead. This is how I'm printing, in a Razor view:

<h1>@DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ss")</h1>

What can I check to make this give me the right time?

Thanks for any help

1 Answers
Related