Well, right now it seems to be producing MATLAB compatible output, with zero reverting to the '0' date. Maybe the fact that it does Dec 31, 0000 instead of Jan 00, 0000 is a compatibility bug, but I'm not sure we want to call 01/00/0000 a rational answer here. Otherwise this function seems to be behaving correctly.