SP.Utilities.Utility.formatDateTime(Context, web, datetime, format) Method

SharePoint 2010

Last modified: May 24, 2011

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);

Context

Type: SP.ClientRuntimeContext

web

Type: SP.Web

datetime

Type: Date

format

Type: SP.Utilities.DateTimeFormat

Type: SP.StringResult

Show: