aspose file tools*
The moose likes Beginning Java and the fly likes newbie  needs to know how do get todays date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "newbie  needs to know how do get todays date" Watch "newbie  needs to know how do get todays date" New topic
Author

newbie needs to know how do get todays date

Shannon Jaye
Greenhorn

Joined: Sep 19, 2002
Posts: 2
I am a total beginner, and I have to get today's date and todays DAY
I need to grab a picture of the week.
SO i have the case statement worked out:

I am not sure if the GregorianCalendar.Saturday sytax is correct...
SO in conclusion.. how do I get todays date, and how do I get the DAY of week?
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
GregorianCalendar gc = new GregorianCalendar();


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 5288
    
  10

The API Reference is your friend: http://java.sun.com/j2se/1.4/docs/api/

[ September 19, 2002: Message edited by: Junilu Lacar ]

Junilu - [How to Ask Questions] [How to Answer Questions]
Shannon Jaye
Greenhorn

Joined: Sep 19, 2002
Posts: 2
Thanks TONS! I really apreciate it
 
jQuery in Action, 2nd edition
 
subject: newbie needs to know how do get todays date