get actual year
Published: 9. October 2011 | Updated: 26. October 2011License: Microsoft Public License (MS-PL)
Categories: Framework » DateTime & TimeSpan
Tags: C# DateTime
var actualYear = DateTime.Today.Year;
| Send us feedback about this snippet » |





