DateTime.getMinute

Retrieves the minute of the hour represented by datetime in the gregorian calendar.

class DateTime
int
getMinute
()

Return Value

Type: int

the minute of the hour, or -1 if none is set.