Time.Time(year,month,dayOfMonth)

Constructs a Time object initialized with the given values for the year, month, and day of month. If you give a wrong ending day to the month, it sets the first day of the following month. For example in: d1 as Time d1 = Time(2005,11,31) "d1" will hold the date : 2005/12/1

Arguments:

Name Type Description Mode
year Int   in
month Int : must be between 1 to 12 in
dayOfMonth Int : must be between 1 to 31 in