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.

Form Questions /

Can't ->SaveInto() an object containing an SSDateTime


Reply


1513 Views

Avatar
mobius

Community Member, 54 Posts

20 September 2009 at 9:31am

I have a form with a PopupDateTimeField, and a dataobject with a SSDatetime, but if I try and run

$form->SaveInto($release)

I get the error [Notice] Undefined property: Release::$DeliveryTime.

This also happens if i change it to just date, but not if i change it to text (but of course then the date functions don't work)

How do I get this to work?