Siebel eScript Language Reference > Siebel eScript Commands > The Date Object >

getMinutes() Method


This method returns the minutes portion of a Date object.

Syntax

dateVar.getMinutes()

Parameter
Description
Not applicable
 

Returns

The minutes portion of dateVar as a number from 0 to 59.

Usage

This method returns the minutes portion of dateVar as a number from 0 to 59. The first minute of an hour is 0, and the last is 59.

Example

This code fragment returns the number 13, the minutes portion of the specified time.

var aDate = new Date("October 31, 1986 12:13:14");
TheApplication().RaiseErrorText(aDate.getMinutes());

See Also

GetDate() Method, getDay() Method, getFullYear() Method, getHours() Method, getMonth() Method, getSeconds() Method, getTime() Method, and getYear() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003