DateTime.getSecond
int getSecond()Retrieves the second of the minute represented by datetime in the gregorian calendar.
Returns
the second represented by datetime, or -1 if none is set.
int getSecond()Retrieves the second of the minute represented by datetime in the gregorian calendar.