These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Date Question

patra
Registered: Oct 19 2006
Posts: 270

I have a date/time field and I was wondering how I can display the pattern
DD-MM-YY than the default one(Nov-17-08).
I tried Binding: Data patern, but I did not have luck!
Thanks

My Product Information:
LiveCycle Designer, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Have you tried using the "Dispaly Pattern" optiion on the object's "Field' tab?

George Kaiser

zbrd
Registered: Nov 17 2008
Posts: 11
After adding a date field you should have some FormCalc code (added automatically). Go to the code and modify the following section:
I included some code from my form that displays the field like this:
11/17/2008 - 12:44 PM

----form1.Page1.dteCurrentTime::ready:layout - (FormCalc, client) -------------
$.rawValue = Concat(Num2Date(Date(), "MM/DD/YYYY"), " - ", Num2Time(Time(), "HH:MM A"))