Liquid XML Data Binder 2019
Liquid XML Runtime for .Net - Year - XmlDateTime
Liquid XML Data Binder (C++, Java, VB6) > Reference > C# and VB .Net (Deprecated - use Liquid XML Objects) > Reference > XmlDateTime > Liquid XML Runtime for .Net - Year - XmlDateTime
This feature has been superseded by Liquid XML Objects.
(The original functionality is still included in the product)
Use Liquid XML Objects
short Year
  Property Description  
    Returns the Year part of the date. (Valid Range -9999 to 9999)  
    Description Gets the Year part of the date. (Valid Range -9999 to 9999)  
    Remarks NOTE: XmlDateTime uses the XML Schema formula for proleptic Gregorian calendar where year 0 is illegal and -4 (4BC) as a leap year.
Throws: LtInvalidStateException thrown if the type is not gDate, gDateTime, gYear or gYearMonth