I am reading date field from excel file. I am able to read it successfully if date is a proper date. But in some cases i am having date like07.12.12As it is not a proper date format, it should be 07.12.2012.And my script reading it as 12-12-2007. But i want the output as 07-12-2012.So is there any way so that i can check if format is coming as dd.mm.yy (special case) then i can simply explode the values with usingexplode('.','07.12.12')and change the date according to my need.Thanks