xPages DateTime Picker value as Text?

Hi,

I’ve a DateTime Picker in a xPage. I want to get the selected date’s value in the format “MM/DD/YYYY” (it is displayed in the date picker text box in this format). How do i access the parts of the date value (day,month,year etc)? And i want it on the server side script.

Any suggestions would be highly appreciated.

-Sri