Siebel eScript Language Reference > Siebel eScript Commands > Universal Time Methods >

getUTCMinutes() Method


This method returns the UTC minute of a Date object.

Syntax

dateVar.getUTCMinutes()

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, 2005 13:24:35");
TheApplication().RaiseErrorText("Local minutes: " + aDate.getMinutes() +
   "\nGMT minutes: " + aDate.getUTCMinutes());

See Also

getMinutes() Method
setUTCMinutes() Method

Siebel eScript Language Reference