Microsoft SDK for Java

Time.getDayOfWeek

Retrieves the day of the week that this Time object represents.

Syntax

public int getDayOfWeek()

Return Value

Returns an integer value that represents the day of the week that this Time object represents.

Remarks

The number returned by the getDayOfWeek method is always between 1 and 7 where a value of 1 represents Monday.

See Also   getDayOfYear, getDay

© 1999 Microsoft Corporation. All rights reserved. Terms of use.