Hi Jay, What is the data format you have in your oData model?
Can you post the data which you are sending to the formatterCountDate(), function.
Also in the formatterCountDate() function, pls have an intial condition like,
if((value!=null) && (value!=""))
{
/* format logic here */
}
Try this and let me know.