Set date format or locale

Is there a guide to changing the locale or the date format. I used to get set the locale in the global code .This no longer changes the locale to en-GB.I’ve tried

function Language_Load()
{
 $this->setPhrase("date_format", "dd/MM/y");
}

plus changing the $DATE_FORMAT global.

Any ideas of the correct steps.
Thanks

Just click on Tools → Locale Settings, then type or select your language ID in the Search, and from date directive, change to dd/MM/y, after that re-generate ALL the script files, and try again.

I’ve done that but it seems to ignore this change.

You may then post your Fields setup for more discussion.

The default date format of “en-GB” is “dd/MM/y”, there is no need to customize. You may reset your locale settings in the project and delete the generated en-GB.json under the “locale” folder of your project folder.