|
Hi,
Look at the GregorianCalendar class.
You should ues the get method like
this:
GregorianCalendar calendar=new
GregorianCalendar();
calendar.get(GregorianCalendar.HOUR_OF_DAY);
Hope it helps,
Best wishes,
Andras.
|
- Deprecation of java.util.Date methods Antonio Villafana
- Re: Deprecation of java.util.Date methods Madhavi Karanam
- Re: Deprecation of java.util.Date methods J. Michael Finn
- Re: Deprecation of java.util.Date methods Martin Kuba
- Re: Deprecation of java.util.Date methods Andras Balogh
- Re: Deprecation of java.util.Date methods Andrew Maxbeard
- Re: Deprecation of java.util.Date methods Tom Kochanowicz
- Re: Deprecation of java.util.Date methods Chris Pratt
- Re: Deprecation of java.util.Date methods Christian Damsgaard
- Re: Deprecation of java.util.Date methods Antonio Mancuso
