Hi, I need that user to type a date in a text box in yyyy/MM/dd format and then popup a calendar from the typed date. But to parse the date into calendar the whole date should be typed.otherwise it gives date conversion error. I need as an example;-
* if user typed only year then it should be "yyyy/01/01"
* if user type year and month then "yyyy/MM/01" like that.
Assume that user has typed only year(2011). how can i convert a string like "2011" to "yyyy/MM/dd" format.?