DateTime.getSecond

Retrieves the second of the minute represented by datetime in the gregorian calendar. Call Date.timeHasTime before, to avoid warnings.

class DateTime
int
getSecond
()

Return Value

Type: int

the second represented by datetime