Notes
Constructs a Datetime from Integer representations of the specified year, month (1=Jan), day, hour, minute, and second in the local time zone.
Here are some examples:
Datetime myDate = Datetime.newInstance(2008, 12, 1, 12, 30, 2);
System.debug(myDate);
Output: 2008-12-01 20:30:02
Video
Video does not exists.