This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi All, I am working on the project which actually uses java not in presentation layer but in all other layers of project. In our presentation layer we are using flex. My question is very simple. I want to retrive the records from the database based on date. From presentation layer , I am getting the date in the format
I want to convert the date of this format to the format that SQL Server 2000 can understand by using some date functions. I will appreciate if some can help me in this regard.
check whether this will help .. u can use diferend date format as u wish for ex "hh:mm:ss" or "dd mm yyyy" or "dd mm yyyy hh:mm:ss" Date date = new Date(); SimpleDateFormat sdf = new SimpleDateFormat("dd mm yyyy"); System.out.println(sdf.format(date));
Joined: Jun 07, 2005
Thanks Jeanne and Biju ..I think now i am able to do some workarounds. Thanks for all your help.