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