Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can someone please tell me that how to typecast string into date as i am using java,jsp,sql,jdbc....
Posted

1 solution

It isn't really a typecast, I would call it conversion. BTW, this question is quite old and answered several times. Use google to find simple things like this. I've used jdbc quite long ago but the following googled solutions seems to be OK:
http://www.java2s.com/Tutorial/Java/0340__Database/ConvertaStringDateSuchas20030110toajavasqlDateObject.htm[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900