'Declaration Public ReadOnly Property Year As Integer
'Usage Dim instance As TdTimestampWithTimeZone Dim value As Integer value = instance.Year
public int Year {get;}
'Declaration Public ReadOnly Property Year As Integer
'Usage Dim instance As TdTimestampWithTimeZone Dim value As Integer value = instance.Year
public int Year {get;}
Exception | Description |
---|---|
TdException | This instance is TdTimestampWithTimeZone.Null. |
The value that is returned represents the year of the date component. There is no consideration for the UTC Offset. For example, if the timestamp is "2007-12-31 23:40:00.000000 -08:00", the value of the Year property will be "2007". However, the UTC representation of the timestamp is "2008-01-01 07:40:00.000000".
No consideration is given to daylight savings time.
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019