Liquid XML Data Binder 2020
LiquidTechnologies.XmlObjects Namespace / LxDateTime Structure / CreateGYearMonth Method / CreateGYearMonth(Int32,Int32,Boolean) Method
The year value
The month value (1-12)
true if the time is a UTC time, false if its a in the local timezone.

In This Topic
    CreateGYearMonth(Int32,Int32,Boolean) Method
    In This Topic
    Creates a new xsd xs:date (Type = LxDateTimeType.GYearMonth).
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function CreateGYearMonth( _
       ByVal year As System.Integer, _
       ByVal month As System.Integer, _
       Optional ByVal isUtc As System.Boolean _
    ) As LxDateTime
    public static LxDateTime CreateGYearMonth( 
       System.int year,
       System.int month,
       System.bool isUtc
    )

    Parameters

    year
    The year value
    month
    The month value (1-12)
    isUtc
    true if the time is a UTC time, false if its a in the local timezone.

    Return Value

    A newly constructed LxDateTime
    Exceptions
    ExceptionDescription
    If any of the values are out of range
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also