Xojo.Core.Date.Constructor(year As Integer, month As Integer, day As Integer, hour As Integer = 0, minute As Integer = 0, seconds As Integer = 0, nanoseconds As Integer = 0, timezone As TimeZone)
From Xojo Documentation
Constructor
Xojo.Core.Date.Constructor(year As Integer, month As Integer, day As Integer, hour As Integer = 0, minute As Integer = 0, seconds As Integer = 0, nanoseconds As Integer = 0, timezone As Xojo.Core.TimeZone)
Creates a new date using the supplied values. Use this method to create a specific date.
Sample Code
Create a new date for Aug 1, 2015:
Create a new date for Sep 1, 2015 at 3:20pm (and 30 seconds):
Convert a Classic Date to Xojo.Core.Date: