Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Today's date after stored date in GregorianCalendar?

Status
Not open for further replies.

paulbradley

Programmer
Oct 9, 2002
158
GB

I have a GregorianCalendar variable ('due') and I would like to compare this with today's date and return true or false if it is beofre or after it.

Is there an easy way of doing this?
Cheers in advance.
 
Humm

Did you even tried having a look at the documentation, there are some methods called equals, compareTo, after and before that can help you.

Cheers,

Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top