Tuesday, February 24, 2015

Custom date format in XForm

I want to display the date time in xform in a specific format like '20/02/2015 11:23 PM'

This can be by specifying format in the following way,

'dd/MM/yyyy shorttime' or 'dd/MM/yyyy longtime'

dateformats which are defined in cordys are below :


Right click on the field and select format and specify the format as mentioned below


Runtime display of the time which you have selected above