I have to calculate number of days difference between today and SubmittedDate, but if I the SubmittedDate = today my Result = 0,430090... Instead of 1
here is my code:
DaysDiff = (today.Subtract(DataUtilities.GetSafeDateTime(financialStatement[SharePoint_Assessment_Fields.SUBMITTEDDATE_FIELD]))).TotalDays,
could you please help me ?