LiquidTechnologies.XmlObjects Namespace / LxDateTime Structure / LxDateTime Constructor / LxDateTime Constructor(DateTime,LxDateTimeType)
The DateTime to copy the value from
The Type of the LxDateTime object to create (defaults to LxDateTimeType.DateTime)

In This Topic
    LxDateTime Constructor(DateTime,LxDateTimeType)
    In This Topic
    Creates a new LxDateTime from a DateTime
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal dt As System.Date, _
       Optional ByVal type As LxDateTimeType _
    )
    public LxDateTime( 
       System.DateTime dt,
       LxDateTimeType type
    )

    Parameters

    dt
    The DateTime to copy the value from
    type
    The Type of the LxDateTime object to create (defaults to LxDateTimeType.DateTime)
    Remarks
    The timezone is either UTC or local
    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