Home » Java Date getDay() Method with Examples

Java Date getDay() Method with Examples

by Online Tutorials Library

Java Date getDay() Method

The getDay() method of java date class returns the value between 0 to 6 which represents the day of the week by this date object.

Value Day
0 Sunday 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday 6 Saturday

You may also like