what day is DD/MM/YYYY?

G

Guest

How can I get the day name of a given date?

I found class GregorianCalendar but it says nothing.


thanks for your time
 
T

Tor Iver Wilhelmsen

How can I get the day name of a given date?

You can use someCalendar.get(Calendar.DAY_OF_WEEK) to get the int, and
compare that to the constants for MONDAY through SUNDAY. The names
themselves are locale-specific.
 
Y

Yu SONG

How can I get the day name of a given date?

use set&get methods in Calendar class


--
Song

/* E-mail.c */
#define User "Yu.Song"
#define At '@'
#define Warwick "warwick.ac.uk"
int main() {
printf("Yu Song's E-mail: %s%c%s", User, At, Warwick);
return 0;}

Further Info. : http://www.dcs.warwick.ac.uk/~esubbn/
_______________________________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top