-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I have a datebox where the value displayed in txtbox is for e.g "Feb 8, 2010"
When i retrieve the value using datebox.value , it is "Mon Feb 08 00:00:00 IST 2010"
Value stored in Db for datebox is in valueformat as "2010-02-08"
Now i want to fire a query for searching a parameter based on this datebox value.
How can compare the datebox value (Mon Feb 08 00:00:00 IST 2010) with DB value (2010-02-08)
DO I need to change the format.If so, how?
Please help me
Thanx in advance !!!
datebox.getValue() returns java.util.Date
It's a general programming skill about java programming with db date format.
It should be easy to find solution by google (java date database).
Asked: 2010-02-08 01:23:23 +0800
Seen: 289 times
Last updated: Feb 09 '10