I use apache myfaces trinidad 2.0.2 api. I have a xhtml page and has the below code. When I enter the below as 1/1/13 and press tab, it converts the date to 1/1/0013. I need to convert it to 1/1/2013. Any idea on how to resolve this. I tried to give convertor with default style as shortish, but it still gave 0013 for year instead of 2013.