다음을 통해 공유


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

Applies To

SP.Utilities.Utility Class

See Also

Reference

SP.Utilities.Utility Methods

SP.Utilities Namespace