Reference: encodeDate
encodeDate(year, month, day) returns the date structure corresponding to the specified year, month, and day. Example: encodeDate(2010, 06, 19) year: 2010 month: 6 day: 19 weekOfYear: 24 dayOfYear: 170 dayOfWeek: 6
encodeDate(year, month, day) returns the date structure corresponding to the specified year, month, and day. Example: encodeDate(2010, 06, 19) year: 2010 month: 6 day: 19 weekOfYear: 24 dayOfYear: 170 dayOfWeek: 6