Otter SDK Reference
Version:

SetKind(System.DateTime d, System.DateTimeKind kind) Method

Returns a new System.DateTime instance with the specified value for the System.DateTime.Kind property.

Syntax

public static System.DateTime SetKind(System.DateTime d, System.DateTimeKind kind)

Parameters

d
Type: System.DateTime

The original System.DateTime instance.

kind
Type: System.DateTimeKind

The desired value of the System.DateTime.Kind property.

Returns

System.DateTime instance with the specified value for the System.DateTime.Kind property.