SP.DataConvert.getDateTimeKind(datetime) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets the basis of the time.

var value = SP.DataConvert.getDateTimeKind(datetime);

Parameters

datetime

Type: DateTime

The date and time for which the basis is retrieved.

Return Value

Type: SP.DateTimeKind

One of the enumeration values that indicates the basis of the time.

Remarks

The time basis represents a local time, a Coordinated Universal Time (UTC), or an unspecified time. The default value is SP.DateTimeKind Enumeration.local.

Applies To

SP.DataConvert Class

See Also

Reference

SP.DataConvert Methods

SP Namespace