Categorize errors for DateTime functions