Returns the time component of a Datetime in the local time zone of the context user.
Here are some examples:
DateTime dt = DateTime.newInstance(2002, 11, 21, 0, 2, 2); System.debug(dt.time());
Output: 00:02:02.000Z