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

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members
Overload List