I have a Input text field which I am mapping to an element of type java.util.Calendar. But I wanted to display value as a number. I am new in JSF and don't know to convert the Calendar value to a number value. I would appreciate if someone can help me to convert this successfully. Thank you very much.