Name

Date.setMinutes( ) Method — assign the minutes of a date

Availability

Flash 5

Synopsis

date.setMinutes(minute)

Arguments

minute

An integer from 0 to 59 representing the new minutes of the hour of date . Values above 59 or below 0 are carried over to the hours of date .

Returns

An integer representing the number of milliseconds between the new date and midnight, January 1, 1970.

See Also

Date.getMinutes( )

Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.