SP.DataConvert.specifyDateTimeKind(datetime, kind) Method

Applies to: SharePoint Foundation 2010

Sets the time basis.

SP.DataConvert.specifyDateTimeKind(datetime, kind);

Parameters

datetime

Type: DateTime

A time object to convert to the specified time kind.

kind

Type: SP.DateTimeKind

One of the enumeration values that specifies whether the time is based on local time, Coordinated Universal Time (UTC), or neither.

Remarks

The time basis is local time, UTC, or neither.

Applies To

SP.DataConvert Class

See Also

Reference

SP.DataConvert Methods

SP Namespace