Liquid XML Data Binder 2019
CreateDate(Int32,Int32,Int32,Int32,Int32) Method

LiquidTechnologies.XmlObjects Namespace > LxDateTime Structure > CreateDate Method : CreateDate(Int32,Int32,Int32,Int32,Int32) Method
The year value
The month value (1-12)
The day value (1-31)
The timezone hour value (-23 to +23)
The timezone minute value (0-59)
Creates a new xsd xs:date (Type = LxDateTimeType.Date).
Syntax
'Declaration
 
Public Overloads Shared Function CreateDate( _
   ByVal year As System.Integer, _
   ByVal month As System.Integer, _
   ByVal day As System.Integer, _
   ByVal zoneHour As System.Integer, _
   ByVal zoneMinute As System.Integer _
) As LxDateTime
public static LxDateTime CreateDate( 
   System.int year,
   System.int month,
   System.int day,
   System.int zoneHour,
   System.int zoneMinute
)

Parameters

year
The year value
month
The month value (1-12)
day
The day value (1-31)
zoneHour
The timezone hour value (-23 to +23)
zoneMinute
The timezone minute value (0-59)

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

Reference

LxDateTime Structure
LxDateTime Members
Overload List