Siebel eScript Language Reference > Methods Reference > Date and Time Methods >

Get Day of Month Method


The Get Day of Month method returns the day of the month of a date object. For more information, see Values for Dates and Times.

Format

dateVar.getDate()

Example

The following example returns a value of 7, the day part of the date object:

function Button2_Click ()
{
   var MyBirthdayDay = new Date("1958", "11", "7");
   TheApplication().RaiseErrorText("My birthday is on day " +
      MyBirthdayDay.getDate() + ".");
}

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