If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

You haven't provided the code that defines how the toDateString method you have added to dates is defined. From the look of that output it appears that it totally ignores the parameter you entered but without seeing the code there is no way to tell for certain.

If you are going to add a method for formatting the date the way you want rather than just joining the fields together then you ought to use one that works - see http://www.felgall.com/datemethods.htm for one alternative where myDate.format('n/d/y') will return the date in the format you want.