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.

All other Modules /

Discuss all other Modules here.

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

Timestamp in UserDefinedForms


Go to End


2 Posts   921 Views

Avatar
moxie

Community Member, 8 Posts

24 July 2012 at 2:42am

Can anyone point me to where the Date Submitted timestamp is created in when someone submits a user defined form?

Right now it looks like "05/07/2012 3:53pm" -- and for reasons obscure I need to change this. I've gone through UserDefinedForm.php -- and I see processing of fields, but not the date -- could it be coming in somewhere else? Or do I need new glasses?

Many thanks!

Martin

Avatar
moxie

Community Member, 8 Posts

24 July 2012 at 5:31am

datetime.php is the answer. Phew.