public static string OneMonth(DateTime dateTime) { string formatted = string.Format("{0:yyyyMM}", dateTime); return formatted; }