hi all
i have string "10-10-2009"
i want convert it to time
how i do it ?
hi all
i have string "10-10-2009"
i want convert it to time
how i do it ?
You have to parse the string yourself. Extract the Day, Month and Year values and convert them to int. Then you can use the Calendar class and the setField() method to initialise a Calendar instance with these values.
You can then use getTime() or getTimeInMillis() whichever you prefer.
- Mike
NAVTEQ Network for Developers
The community for developing innovative location-based applications
http://NN4D.com
how i use Calendar class for convert ?
i not found setField() method
i find th selution at link :
http://discussion.forum.nokia.com/fo...ad.php?t=73342