Date.getMinutes

Returns the minutes in the specified date according to local time.

Method of Date

Syntax

getMinutes()

Parameters

None

Description

The value returned by getMinutes is an integer between 0 and 59.

Examples

The second statement below assigns the value 15 to the variable minutes, based on the value of the Date object Xmas95.

See also

Date.getUTCMinutes, Date.setMinutes

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.