AN0004: Use 24 hour time format Property Value Id AN0004 Category Formatting Default Severity Warning Example Code with Diagnostic string date = DateTime.Now.ToString("mm/dd/yyyy hh:mm:ss"); Code with Fix string date = DateTime.Now.ToString("mm/dd/yyyy HH:mm:ss");