Date, Time, and DateTime:

A value that indicates a particular date and time.

Ex: Date d = Date.newInstance(2016,6,15);

A value that indicates a particular time. Time values must always be created with a system static method. Time datatype stores time (hours, minutes, seconds, milliseconds).

Ex: Time t = Time.newInstance(12,5,2,7);

A value that indicates a particular date and time.

Ex: DateTime dt = Date.newInstance(1997,1,31,7,8,16);

Boolean:

This variable can either be true or false or null.

Our Recent Blog

Share This Post