datetime
datetime
Field component to liase with all datetime types
Basic<cfproperty name="basicDate" type="date" hint="something meaningful" required="no" default="" ftseq="1" ftfieldset="General" ftwizardStep="General Details" ftType="datetime" ftlabel="Basic Date" />Default to todays date
<cfproperty name="someDate" type="date" hint="The start date of the event" required="no" default="" ftseq="2" ftfieldset="General" ftwizardStep="General Details" ftDefaultType="Evaluate" ftDefault="now()" ftType="datetime" ftlabel="Some Date" />Custom date and time format mask
<cfproperty name="someDate" type="date" hint="The start date of the event" required="no" default="" ftseq="3" ftfieldset="General" ftwizardStep="General Details" ftType="datetime" ftDateFormatMask="dd mmm yyyy" ftTimeFormatMask="hh:mm tt" ftlabel="Some Date" />Show date only
<cfproperty name="dateOnly" type="date" hint="The start date of the event" required="no" default="" ftseq="4" ftfieldset="General" ftwizardStep="General Details" ftType="datetime" ftShowTime="false" ftlabel="Date Only" />Disable dateTime field by default
<cfproperty name="someDate" type="date" hint="The start date of the event" required="no" default="" ftseq="5" ftfieldset="General" ftwizardStep="General Details" ftType="datetime" ftToggleOffDateTime="true" ftlabel="Some Date" />Datetime to be automatically set to the other field's date value.
<cfproperty name="endDate" type="date" hint="The start date of the event" required="no" default="" ftseq="5" ftfieldset="General" ftwizardStep="General Details" ftType="datetime" ftlabel="Some Date" ftWatch="startDate"/>
Attributes
Name | Required | Default | Options | Description |
---|---|---|---|---|
ftRenderType | No | jquery | This formtool offers a number of ways to render the input. (dropdown, jquery, input) | |
ftToggleOffDateTime | No | false | Provides an optional toggle to hide the date if its not required | |
ftDateFormatMask | No | d mmm yyyy | Coldfusion mask for date for edit handler | |
ftStartYearShift | No | 0 | Used when ftRenderType is set to dropDown, sets start of year range in select list. | |
ftEndYearShift | No | -100 | Used when ftRenderType is set to dropDown, sets end of year range in select list. | |
ftStartYear | No | Used when ftRenderType is set to dropDown, sets the value of the first year in year range. | ||
ftEndYear | No | Used when ftRenderType is set to dropDown,, sets the value of the last year in year range. | ||
ftShowTime | No | true | Display time portion of dateTime field. | |
ftDateMask | No | d-mmm-yy | Coldfusion date mask for display handler. | |
ftTimeMask | No | short | Coldfusion time mask for display handler. | |
ftDisplayPrettyDate | No | true | Converts SQL dateTime value to human readable string |