Date and Time field

Features ›› Templates ›› Editing Templates ›› Fields ››
Parent Previous Next

Date and Time field

A field where a date, a time or a combination of date and time can be entered.


Examples

Date field with the formating Month/Day/Year (e.g. 12/31/2013):

$DateField('Delivery date', 'MM/dd/yyyy')


Time field with the formating Hour:Minute:Second (e.g. 23:59:59):

$TimeField('Delivery time', 'HH:mm:ss')


Date and time field with the formating Month/Day/Year Hour:Minute:Second (e.g. 12/31/2013 23:59:59):

$DateAndTimeField('Delivery date', 'dd/MM/yyyy HH:mm:ss')


For details about formatting date and time values see here.


Example Usage