- 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
Ranjeet PatraPosted Apr 6, 2017, 5:36 AM
Nitin SontakkePosted Apr 6, 2017, 5:08 AM