Siebel eScript Language Reference > Methods Reference > UTC Methods >

Get UTC Day of Month Method


The Get UTC Day of Month method returns the UTC day of the month of dateVar as a number from 1 to 31. For more information, see Values for Dates and Times.

Format

dateVar.getUTCDate()

Example

The following example displays 1, the hour portion of the date, followed by the GMT equivalent, which can include the same value:

var aDate = new Date("May 1, 2005 13:24:35");
TheApplication().RaiseErrorText("Local day of the month is " +
   aDate.getHours() +"\nGMT day of the month is " +
   aDate.getUTCHours());

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.