Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

change global date format


Go to End


2 Posts   2128 Views

Avatar
abelcreative

4 Posts

31 July 2007 at 5:39am

I'd like to change the date format from dd/mm/yyyy to mm/dd/yyyy - how do I do that?

Avatar
Reflektera

49 Posts

7 September 2007 at 6:12pm

Maybe you've already figured it out but if not, take a look in /sapphire/core/model/fieldtypes/Date.php. Did it for me.