Date format on web

I have an xPage that is displaying a date in a column. It appears fine in the notes client, but in a browser it is incorrect. For example in the client it shows 12/10/2014 (12th October). But in a web browser (Chrome and IE have been tested) it shows as 10/12/2014 (10th December). Regional settings on both the machinea and the server are set to UK.

Any ideas!?

Subject: RE: Date format on web

Hi there,

Try the following:

Regards,

Paul

Subject: thanks, but…

I’m getting an error on the designer.I have put the code in Events - Page - beforeRenderResponse as a script editor item. Is this the correct place?