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

getUTCMinutes() Method


This method returns the UTC minute of a Date object.

Syntax

dateVar.getUTCMinutes()

Parameter
Description
Not applicable
 

Returns

The UTC minute of dateVar as a number from 0 to 59.

Usage

This method returns the UTC minute of dateVar as a number from 0 through 59. The first minute of an hour is 0; the last is 59.

Example

This code fragment displays 24, the minutes portion of the date, followed by the GMT equivalent, which is probably the same.

var aDate = new Date("May 1, 2001 13:24:35");
TheApplication().RaiseErrorText("Local minutes: " + aDate.getMinutes() +
   "\nGMT minutes: " + aDate.getUTCMinutes());

See Also

getMinutes() Method and setUTCMinutes() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003