Friday, November 25, 2011
Get Date Difference in months from C#.NET
/// Returns the number of months between startDate and endDate.
/// Start Date
/// End Date
public int MonthDifference(DateTime startDate, DateTime endDate)
// This came from the following analysis
// Assume 1 is start date and 2 is end date
// if Y2 = Y1 then M2 - M1
// else (12 - M1) + [(Y2 - Y1 - 1) * 12] + M2
return endDate.Month - startDate.Month + ((endDate.Year - startDate.Year) * 12);
Please use below code to populate people picker in SharePoint online, <script src="https://ajax.googleapis.com/ajax/libs/jquery/3....
The instance has exceeded the outbound http request quota for a 1.00:00:00 time period. The 5000 request limit was reached inThis happens when you have so many REST calls from O365 SharePoint designer workflow, below is the KB article for details. https://suppo...
This error comes when the column limit is exceeded in InfoPath form library because of the setting change happens when we take template from...
If you want to Select and Delete text vertically in bigger text OR any flat file use below command to do it. Example below: A BCEDF CDEF...