An instance of TdTimestampWithTimeZone is created from the date and time components
specified as integers.
Syntax
'Declaration
Public Function New( _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim year As Integer
Dim month As Integer
Dim day As Integer
Dim hour As Integer
Dim minute As Integer
Dim second As Integer
Dim microsecond As Integer
Dim instance As New TdTimestampWithTimeZone(year, month, day, hour, minute, second, microsecond)
public TdTimestampWithTimeZone(
int ,
int ,
int ,
int ,
int ,
int ,
int
)
public:
TdTimestampWithTimeZone(
int ,
int ,
int ,
int ,
int ,
int ,
int
)
Parameters
- year
- The year of the specified timestamp. Valid values are 0001-9999.
- month
- The month of the specified timestamp. Valid values are 01-12.
- day
- The day of the specified timestamp. Valid values are 1-31.
- hour
- The hour of the specified timestamp. Valid values are 0-23.
- minute
- The minute of the specified timestamp. Valid values are 0-59.
- second
- The second of the specified timestamp. Valid values are 0-59.
- microsecond
- The number of microseconds.
Exceptions
Requirements
Product | Versions | Platforms |
.NET | 2.1, 3.1, 6 | Windows, Linux, MacOS |
.NET Framework | 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |
See Also