SPUtility.GetExampleDateFormat method
SharePoint 2013
Returns an example of the format that is used for dates in the specified site.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public static string GetExampleDateFormat( SPWeb web, string stYearLabel, string stMonthLabel, string stDayLabel )
Parameters
- web
- Type: Microsoft.SharePoint.SPWeb
A Microsoft.SharePoint.SPWeb object that represents the site.
- stYearLabel
- Type: System.String
A string that contains a number representing a sample year.
- stMonthLabel
- Type: System.String
A string that contains a number representing a sample month.
- stDayLabel
- Type: System.String
A string that contains a number representing a sample day.