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



Teradata.Client.Provider Namespace > TdTimestamp Structure > TdTimestamp Constructor : TdTimestamp 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.
TdTimestamp 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 TdTimestamp(year, month, day)
public TdTimestamp( 
   int year,
   int month,
   int day
)
public:
TdTimestamp( 
   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".

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

TdTimestamp Structure
TdTimestamp Members
Overload List