Date.Implicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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