Returns the second component of a Datetime in the local time zone of the context user.
Here are some examples:
DateTime dt = DateTime.newInstanceGMT(1999, 9, 22, 3, 1, 2); System.debug(dt.second());
Output: 2