You can use renderDateTimeField macro as follows:

<@htmlTemplate.renderDateTimeField name="thruDate" value="" event=""
action="" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS"
size="25" maxlength="30" id="thruDate" dateType="date" shortDateInput=false
timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle=""
timeDropdown="" timeHourName="" classString="" hour1="" hour2=""
timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected=""
pmSelected="" compositeType="" formName=""/>



On Tue, Oct 21, 2014 at 10:46 AM, [email protected] <
[email protected]> wrote:

> Dear all,
>
> I am trying to add a calendar input in my main.ftl, I searched all of the
> freemarker files in the OOTB package(12.04.02) without finding an example,
> could anyone give me a hand here? Thanks so much !
>
> --
> 发自我的ONEPLUS智能手机




-- 
*THIEP LE (Mr)*
*Developer*
*Email:* [email protected] | *Mobile:* (+84) 1656 241 339

*OLBIUS., JSC*
*Tel:* (+84) 9 88 99 3333
*Address: *Room 2508, M3-M4 building, No 91, Nguyen Chi Thanh St., Ha Noi
City, VietNam
*Website:* http://olbius.com

Reply via email to