Send feedback on this topic.
Teradata.Client.Provider
TdTimestampWithTimeZone Constructor(Int32,Int32,Int32)



Teradata.Client.Provider Namespace > TdTimestampWithTimeZone Structure > TdTimestampWithTimeZone Constructor : TdTimestampWithTimeZone Constructor(Int32,Int32,Int32)
The year of the specified date. Valid values are 0001-9999.
The month of the specified date. Valid values are 01-12.
The day of the specified date. Valid values are 1-31.
TdTimestampWithTimeZone is created from the date components specified as integers.
Syntax
'Declaration
 
Public Function New( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal day As Integer _
)
'Usage
 
Dim year As Integer
Dim month As Integer
Dim day As Integer
 
Dim instance As New TdTimestampWithTimeZone(year, month, day)
public TdTimestampWithTimeZone( 
   int year,
   int month,
   int day
)
public:
TdTimestampWithTimeZone( 
   int year,
   int month,
   int day
)

Parameters

year
The year of the specified date. Valid values are 0001-9999.
month
The month of the specified date. Valid values are 01-12.
day
The day of the specified date. Valid values are 1-31.
Exceptions
ExceptionDescription
One of the date components is out of range.
Remarks

The Time components will be filled in with "00:00:00", and the UTC offset will be set to the local time zone of the machine.

Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members
Overload List