remove CPDateFormater dependancy and CPString convertion