public static int DiffDateDays(string oneDateTime) { if (string.IsNullOrEmpty(oneDateTime)) { return(0); } return(TextUtility.DiffDateDays(DateTime.Parse(oneDateTime))); }