[TYPO3-mvc] DateTime and form with bound property

Marc Bastian Heinrichs typo3 at mbh-web.de
Mon Feb 7 16:41:31 CET 2011


Hey,

> having dateTime properties/objects is quite nice, however how to add an 
> input control for a new/edit action with a DateTime property?
> 
> <f:form.textbox property="timeStart" /><br />
> 
> will silently fail...
> 
> any suggestions or hints anyone?
> Or, stick with string and manage it "by hand"?

<f:form.textbox id="starttime" property="starttime" size="20"
value="{f:format.date(date: job.starttime, format: 'd.m.Y')}" />


Best
Marc Bastian


More information about the TYPO3-project-typo3v4mvc mailing list