setMinute()

Sets the value of the Minute calendar field.

Syntax

Calendar setMinute(Numeric value)
  1. value is the minute to set.

Usage

For example, set the value of the Minute calendar field by calling:
Calendar.fromDate(Date.parseString("05/08/1999","mm/dd/yyyy")).setMinute(2).toDate().toString("MM/dd/yyyy h:mm:ss")
This example populates a Word Box.