A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Calculate number of days between two dates
how do I find date difference in months
Displaying tha Date between two dates in paint method...
Generating a list of dates from a range
Extracting months from Date object data
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015