Fixes #5645 !strict.  Made the default value for datetextbox undefined instead of NaN.  Added a check for undefined before calling toString().
Fixes #5645 !strict.  Made the default value for datetextbox undefined instead of NaN.  Added a check for undefined before calling toString().

git-svn-id: 674a2d6b1e32e53f607eb824547723f32280967e@12165 560b804f-0ae3-0310-86f3-f6aa0a117693

harbalk/delite,kitsonk/delite,Sam-Cummins/delite,kitsonk/delite,Sam-Cummins/delite,harbalk/delite