'Usage Dim dateTime As Date Dim instance As New TdTimestamp(dateTime)
Parameters
- dateTime
- The DateTime structure that will be used to build the date and time components.
'Usage Dim dateTime As Date Dim instance As New TdTimestamp(dateTime)
The DateTimeKind property will be ignored when the time components of the TdTimestamp structure is initialized with the time components from the DateTime structure. Therefore, adjustments will not be made for local time.
The DateTime structure can contain a fraction of a second that is up to seven digits. Teradata can only support a fraction that is 6 digits. Therefore, if the DateTime structure contains a fraction of a second that contains more than 6 digits, it will be truncated after the sixth position.
The scale will default to the number of digits contained in the fractional component of the DateTime structure. The maximum value it will be set to is 6.
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