- DateTime.UtcNow.Year
Get universal time instead of system time
Hello I would like to get the current year irrespective of system time I tried using but this is but when I change the system time it is giving the respective year. Let's say the current year is 2017 and if I change my date to last year it should still show 2017
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Nitin SontakkeRank #264 · 9.6K reputationPosted Apr 6, 2017, 1:08 AM EDT
Ranjeet PatraRank #1,436 · 1.1K reputationPosted Apr 6, 2017, 1:36 AM EDT