Share via


Date.Implicit Operator

Definition

Overloads

Implicit(Date to DateTime)

Convert Date to Clr DateTime

Implicit(DateTime to Date)

Convert Clr DateTime to Date

Implicit(Date to DateTime)

Convert Date to Clr DateTime

public static implicit operator DateTime (Microsoft.OData.Edm.Date operand);
static member op_Implicit : Microsoft.OData.Edm.Date -> DateTime
Public Shared Widening Operator CType (operand As Date) As DateTime

Parameters

operand
Date

Date Value

Returns

DateTime Value which represent the Date

Applies to

Implicit(DateTime to Date)

Convert Clr DateTime to Date

public static implicit operator Microsoft.OData.Edm.Date (DateTime operand);
static member op_Implicit : DateTime -> Microsoft.OData.Edm.Date
Public Shared Widening Operator CType (operand As DateTime) As Date

Parameters

operand
DateTime

DateTime Value

Returns

Date Value from DateTime

Applies to