Date Format Not Display Correctly


hi expert,

 

i realy need on date format not display correctly. formcalc coding below :

$.rawvalue = num2date(date(), "yyyy-mm-dd")

 

but output dd/mm/yyyy

 

i tried change coding

$.rawvalue = num2date(date(), "mm-dd-yyyy") ,

$.rawvalue = num2date(date(), "yyyy/mm/dd")

 

and wokirng fine need display yyyy-mm-dd

 

anybody can help??

hi,

 

a date field has 4 main categories patterns (view, edit, validate , data).

those patterns used format date in desired way such "mm-dd-yyyy".

you can add such patterns in object palette under field tab or context menu right-clicking date field.

 

the view pattern describes how date displayed once field filled.

if blank uses local default pattern may not 1 prefer.

 

for each category can use different patterns.

so can use edit pattern date{ddmmyyyy} enter todays date 15082012 und format edit pattern date{m/d/yyyy} 8/15/2012.



More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support