How to

get actual year

Published: 9. October 2011 | Updated: 26. October 2011
License: Microsoft Public License (MS-PL)
Categories: Framework » DateTime & TimeSpan
Tags: C# DateTime
Was this snippet helpful for you? YESYES / NONO
var actualYear = DateTime.Today.Year;
Send us feedback about this snippet »



Related Snippets: