A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Is Date Between Two Dates
Joined: Nov 16, 2004
Jun 03, 2008 08:07:00
I have searched the web and have not found a good way to check and see if a given date is equal to or between two dates. Please help.
Joined: Aug 05, 2005
Jun 03, 2008 08:11:00
Did you look at the
Joined: Nov 08, 2007
Jun 04, 2008 13:16:00
You'll have to write it.
I'd suggest Calendar over Date, but either will do.
If the time of day for your Date/Calendar is set to zero, then it is of course a trivial exercise.
Try it, let us know how it goes.
Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read(
I agree. Here's the link:
subject: Is Date Between Two Dates
Displaying tha Date between two dates in paint method...
Extracting months from Date object data
Calculate number of days between two dates
Generating a list of dates from a range
how do I find date difference in months
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014