Send feedback on this topic.
Teradata.Client.Provider
Explicit Type Conversion(TdTimestampWithTimeZone,TdDate) Operator



Teradata.Client.Provider Namespace > TdTimestampWithTimeZone Structure > Explicit Type Conversion Operator : Explicit Type Conversion(TdTimestampWithTimeZone,TdDate) Operator
The TdDate that is to be converted.
The TdDate is converted into a TdTimestampWithTimeZone.
Syntax
'Declaration
 
Overloads Public Operator Narrowing CType( _
   ByVal value As TdDate _
) As TdTimestampWithTimeZone
'Usage
 
public TdTimestampWithTimeZone operator explicit( 
   TdDate value
)
public:
TdTimestampWithTimeZone operator explicit( 
   TdDate value
)

Parameters

value
The TdDate that is to be converted.

Return Value

A TdTimestampWithTimeZone is returned.
Exceptions
ExceptionDescription
The TdDate that is to be converted is null.
Remarks

The time component of the timestamp will be set to "00:00:00.000000", and the UTC Offset will be set to the local time zone of the machine.

If the TdDate value is TdDate.Null a TdTimestampWithTimeZone.Null is returned.

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members
Overload List