SP.Utilities.Utility.formatDateTime(Context, web, datetime, format) Method
Applies to: SharePoint Foundation 2010
This member is reserved for internal use and is not intended to be used directly from your code.
var value = SP.Utilities.Utility.formatDateTime(Context, web, datetime, format);
Parameters
Context
Type: SP.ClientRuntimeContext
web
Type: SP.Web
datetime
Type: Date
format
Type: SP.Utilities.DateTimeFormat
Return Value
Type: SP.StringResult