getIntDayOfWeek()

Return the day of the week in this date as an integer.

Syntax

public int getIntDayOfWeek()
 

Return values

An int value which is the day of the week. The possible values are 0 (Monday), 1 (Tuesday), 2 (Wednesday), 3 (Thursday), 4 (Friday), 5 (Saturday), or 6 (Sunday).

Examples

DtpDate toDay = new DtpDate();
 int dayOfWeek = toDay.getIntDayOfWeek();
 

See also

getDayOfWeek()

Copyright IBM Corp. 1997, 2003