Getting of year, month, day from Datetime in C#

var now = DateTime.Now;
var year = now.Year;
var month = now.Month;
var day = now.Day;