| Author |
Date.before() Function
|
Veena Ka
Greenhorn
Joined: Oct 08, 2011
Posts: 3
|
|
I Have this peice of code which I want to return true, if the date provided is before 31st march.
I have provided 05 feb of the same year. Still the function
keeps returning false. Can anybody please help?
|
 |
Greg Brannon
Bartender
Joined: Oct 24, 2010
Posts: 530
|
|
|
Your variable names create some confusion, but I would expect a version of the March date to be included in the comparison, and I don't see it. Recheck what you're comparing.
|
Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8438
|
|
Welcome to the Ranch.
Can you show us the code for getWrksWorkDate?
Also, please check your private messages for an important administrative matter.
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
Veena Ka
Greenhorn
Joined: Oct 08, 2011
Posts: 3
|
|
|
Ok I have gotton the fix. thank you
|
 |
 |
|
|
subject: Date.before() Function
|
|
|