A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
how to compare a Date and a Calendar date ?
Joined: Jun 30, 2006
Apr 01, 2008 14:43:00
I have a
variable and a Calendar.getInstance(), how do I compare them ??
Joined: Dec 31, 2004
Apr 01, 2008 15:52:00
Calendendar has a method getTime() that returns a Date object. Use it and compare them.
I agree. Here's the link:
subject: how to compare a Date and a Calendar date ?
compare the date field with the current date in struts 2 validation.xml
comparing two dates
compare two dates thru Calendar
Quick Date Question
Problem with Date Object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013