Notes
Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this DateTime object.
Here are some examples:
DateTime dt = DateTime.newInstance(2007, 6, 23, 3, 3, 3);
Long gettime = dt.getTime();
System.debug(gettime);
Output: 1182592983000
Video
Video does not exists.